pub struct RenderPassDepthStencilAttachment<'tex> {
pub view: &'tex TextureView,
pub depth_ops: Option<Operations<f32>>,
pub stencil_ops: Option<Operations<u32>>,
}Expand description
Describes a depth/stencil attachment to a RenderPass.
For use with RenderPassDescriptor.
Corresponds to WebGPU GPURenderPassDepthStencilAttachment.
Fields§
§view: &'tex TextureViewThe view to use as an attachment.
depth_ops: Option<Operations<f32>>What operations will be performed on the depth part of the attachment.
stencil_ops: Option<Operations<u32>>What operations will be performed on the stencil part of the attachment.
Trait Implementations§
Source§impl<'tex> Clone for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Clone for RenderPassDepthStencilAttachment<'tex>
Auto Trait Implementations§
impl<'tex> !RefUnwindSafe for RenderPassDepthStencilAttachment<'tex>
impl<'tex> !UnwindSafe for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Forget for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Freeze for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Move for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Send for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Sync for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Unpin for RenderPassDepthStencilAttachment<'tex>
impl<'tex> UnsafeUnpin for RenderPassDepthStencilAttachment<'tex>
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