diff --git a/kubi/src/rendering/world.rs b/kubi/src/rendering/world.rs index 4e944d2..9b80e85 100644 --- a/kubi/src/rendering/world.rs +++ b/kubi/src/rendering/world.rs @@ -29,8 +29,9 @@ struct WorldUniform { position: [f32; 3], //XXX: should use i32? } +///private type #[derive(Unique)] -struct GpuData { +pub struct GpuData { pipeline: wgpu::RenderPipeline, uniform_buffer: wgpu::Buffer, bind_group: wgpu::BindGroup,