Struct vulkan_rs::VkStencilOpState
[−]
[src]
#[repr(C)]pub struct VkStencilOpState { pub failOp: VkStencilOp, pub passOp: VkStencilOp, pub depthFailOp: VkStencilOp, pub compareOp: VkCompareOp, pub compareMask: u32, pub writeMask: u32, pub reference: u32, }
Structure specifying stencil operation state
Fields
failOp: VkStencilOp
the action performed on samples that fail the stencil test
passOp: VkStencilOp
the action performed on samples that pass both the depth and stencil tests
depthFailOp: VkStencilOp
the action performed on samples that pass the stencil test and fail the depth test
compareOp: VkCompareOp
the comparison operator used in the stencil test
compareMask: u32
writeMask: u32
reference: u32
an integer reference value that is used in the unsigned stencil comparison
Trait Implementations
impl Copy for VkStencilOpState
[src]
impl Clone for VkStencilOpState
[src]
fn clone(&self) -> VkStencilOpState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for VkStencilOpState
[src]
fn default() -> VkStencilOpState
Returns the "default value" for a type. Read more