pub struct DepthStencilAttachment {
pub target: RenderTexture,
pub depth_ops: Option<Operations<f32>>,
pub stencil_ops: Option<Operations<u32>>,
}
Expand description
A depth/stencil attachment for a RenderPass
Equivalent to wgpu::RenderPassDepthStencilAttachment
Fields§
§target: RenderTexture
§depth_ops: Option<Operations<f32>>
§stencil_ops: Option<Operations<u32>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepthStencilAttachment
impl !RefUnwindSafe for DepthStencilAttachment
impl Send for DepthStencilAttachment
impl Sync for DepthStencilAttachment
impl Unpin for DepthStencilAttachment
impl !UnwindSafe for DepthStencilAttachment
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