graphics: depth_texture_view
This commit is contained in:
@@ -155,6 +155,9 @@ impl GraphicsState{
|
|||||||
|
|
||||||
depth_texture.create_view(&wgpu::TextureViewDescriptor::default())
|
depth_texture.create_view(&wgpu::TextureViewDescriptor::default())
|
||||||
}
|
}
|
||||||
|
pub const fn depth_texture_view(&self)->&wgpu::TextureView{
|
||||||
|
&self.depth_view
|
||||||
|
}
|
||||||
pub fn clear(&mut self){
|
pub fn clear(&mut self){
|
||||||
self.models.clear();
|
self.models.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user