idea context is the thread setup and owns the state instance defined by other file
This commit is contained in:
parent
44831bd14b
commit
cbc7b56f28
6
src/graphics_context.rs
Normal file
6
src/graphics_context.rs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
struct Context{
|
||||||
|
device:wgpu::Device,
|
||||||
|
queue:wgpu::Queue,
|
||||||
|
}
|
||||||
|
|
||||||
|
//??
|
@ -12,8 +12,8 @@ mod settings;
|
|||||||
mod primitives;
|
mod primitives;
|
||||||
mod instruction;
|
mod instruction;
|
||||||
mod load_roblox;
|
mod load_roblox;
|
||||||
mod render_thread;
|
|
||||||
mod model_graphics;
|
mod model_graphics;
|
||||||
|
mod physics_context;
|
||||||
mod graphics_context;
|
mod graphics_context;
|
||||||
|
|
||||||
fn load_file(path: std::path::PathBuf)->Option<model::IndexedModelInstances>{
|
fn load_file(path: std::path::PathBuf)->Option<model::IndexedModelInstances>{
|
||||||
|
Loading…
Reference in New Issue
Block a user