This commit is contained in:
griffi-gh 2023-07-20 09:55:10 +02:00
parent cafd0a4b3d
commit a71d898860

View file

@ -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,