pub struct DepthBuffer {
pub texture: Texture,
}Expand description
Z-Depth buffer.
Fields§
§texture: TextureImplementations§
Source§impl DepthBuffer
impl DepthBuffer
pub const FORMAT: TextureFormat = wgpu::TextureFormat::Depth32Float
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepthBuffer
impl !RefUnwindSafe for DepthBuffer
impl Send for DepthBuffer
impl Sync for DepthBuffer
impl Unpin for DepthBuffer
impl !UnwindSafe for DepthBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more