Struct wgpu::RenderBundleDepthStencil [−][src]
#[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.
Fields
format: TextureFormatFormat of the attachment.
depth_read_only: boolTrue if the depth aspect is used but not modified.
stencil_read_only: boolTrue if the stencil aspect is used but not modified.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RenderBundleDepthStencil, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RenderBundleDepthStencil, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key and return true if they are equal.