pub struct ArcRenderPassDepthStencilAttachment {
pub view: Arc<TextureView>,
pub depth: PassChannel<f32>,
pub stencil: PassChannel<u32>,
}
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>
What operations will be performed on the depth part of the attachment.
stencil: PassChannel<u32>
What operations will be performed on the stencil part of the attachment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArcRenderPassDepthStencilAttachment
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