pub struct ArcRenderPassDepthStencilAttachment {
pub view: Arc<TextureView>,
pub depth: PassChannel<f32, LoadOp, StoreOp>,
pub stencil: PassChannel<u32, LoadOp, StoreOp>,
}
Expand description
Describes a depth/stencil attachment to a render pass.
Fields§
§view: Arc<TextureView>
The view to use as an attachment.
depth: PassChannel<f32, LoadOp, StoreOp>
What operations will be performed on the depth part of the attachment.
stencil: PassChannel<u32, LoadOp, StoreOp>
What operations will be performed on the stencil part of the attachment.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArcRenderPassDepthStencilAttachment
impl Send for ArcRenderPassDepthStencilAttachment
impl Sync for ArcRenderPassDepthStencilAttachment
impl Unpin for ArcRenderPassDepthStencilAttachment
impl !UnwindSafe for ArcRenderPassDepthStencilAttachment
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