mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
fix
This commit is contained in:
parent
cafd0a4b3d
commit
a71d898860
|
@ -29,8 +29,9 @@ struct WorldUniform {
|
||||||
position: [f32; 3], //XXX: should use i32?
|
position: [f32; 3], //XXX: should use i32?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///private type
|
||||||
#[derive(Unique)]
|
#[derive(Unique)]
|
||||||
struct GpuData {
|
pub struct GpuData {
|
||||||
pipeline: wgpu::RenderPipeline,
|
pipeline: wgpu::RenderPipeline,
|
||||||
uniform_buffer: wgpu::Buffer,
|
uniform_buffer: wgpu::Buffer,
|
||||||
bind_group: wgpu::BindGroup,
|
bind_group: wgpu::BindGroup,
|
||||||
|
|
Loading…
Reference in a new issue