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§
source§impl Clone for RenderBundleDepthStencil
impl Clone for RenderBundleDepthStencil
source§fn clone(&self) -> RenderBundleDepthStencil
fn clone(&self) -> RenderBundleDepthStencil
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderBundleDepthStencil
impl Debug for RenderBundleDepthStencil
source§impl<'de> Deserialize<'de> for RenderBundleDepthStencil
impl<'de> Deserialize<'de> for RenderBundleDepthStencil
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for RenderBundleDepthStencil
impl Hash for RenderBundleDepthStencil
source§impl PartialEq<RenderBundleDepthStencil> for RenderBundleDepthStencil
impl PartialEq<RenderBundleDepthStencil> for RenderBundleDepthStencil
source§fn 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 ==
.