Struct wgpu_types::RenderBundleDepthStencil
source · [−]#[repr(C)]pub struct RenderBundleDepthStencil {
pub format: TextureFormat,
pub depth_read_only: bool,
pub stencil_read_only: bool,
}
Expand description
Describes the depth/stencil attachment for render bundles.
Corresponds to a portion of WebGPU GPURenderBundleEncoderDescriptor
.
Fields
format: TextureFormat
Format of the attachment.
depth_read_only: bool
True if the depth aspect is used but not modified.
stencil_read_only: bool
True if the stencil aspect is used but not modified.
Trait Implementations
sourceimpl Clone for RenderBundleDepthStencil
impl Clone for RenderBundleDepthStencil
sourcefn clone(&self) -> RenderBundleDepthStencil
fn clone(&self) -> RenderBundleDepthStencil
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RenderBundleDepthStencil
impl Debug for RenderBundleDepthStencil
sourceimpl Hash for RenderBundleDepthStencil
impl Hash for RenderBundleDepthStencil
sourceimpl PartialEq<RenderBundleDepthStencil> for RenderBundleDepthStencil
impl PartialEq<RenderBundleDepthStencil> for RenderBundleDepthStencil
sourcefn eq(&self, other: &RenderBundleDepthStencil) -> bool
fn eq(&self, other: &RenderBundleDepthStencil) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RenderBundleDepthStencil) -> bool
fn ne(&self, other: &RenderBundleDepthStencil) -> bool
This method tests for !=
.
impl Copy for RenderBundleDepthStencil
impl Eq for RenderBundleDepthStencil
impl StructuralEq for RenderBundleDepthStencil
impl StructuralPartialEq for RenderBundleDepthStencil
Auto Trait Implementations
impl RefUnwindSafe for RenderBundleDepthStencil
impl Send for RenderBundleDepthStencil
impl Sync for RenderBundleDepthStencil
impl Unpin for RenderBundleDepthStencil
impl UnwindSafe for RenderBundleDepthStencil
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more