Struct ash::vk::definitions::PipelineDepthStencilStateCreateInfo
source · #[repr(C)]pub struct PipelineDepthStencilStateCreateInfo<'a> {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineDepthStencilStateCreateFlags,
pub depth_test_enable: Bool32,
pub depth_write_enable: Bool32,
pub depth_compare_op: CompareOp,
pub depth_bounds_test_enable: Bool32,
pub stencil_test_enable: Bool32,
pub front: StencilOpState,
pub back: StencilOpState,
pub min_depth_bounds: f32,
pub max_depth_bounds: f32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineDepthStencilStateCreateFlags
§depth_test_enable: Bool32
§depth_write_enable: Bool32
§depth_compare_op: CompareOp
§depth_bounds_test_enable: Bool32
§stencil_test_enable: Bool32
§front: StencilOpState
§back: StencilOpState
§min_depth_bounds: f32
§max_depth_bounds: f32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineDepthStencilStateCreateInfo<'a>
impl<'a> PipelineDepthStencilStateCreateInfo<'a>
pub fn flags(self, flags: PipelineDepthStencilStateCreateFlags) -> Self
pub fn depth_test_enable(self, depth_test_enable: bool) -> Self
pub fn depth_write_enable(self, depth_write_enable: bool) -> Self
pub fn depth_compare_op(self, depth_compare_op: CompareOp) -> Self
pub fn depth_bounds_test_enable(self, depth_bounds_test_enable: bool) -> Self
pub fn stencil_test_enable(self, stencil_test_enable: bool) -> Self
pub fn front(self, front: StencilOpState) -> Self
pub fn back(self, back: StencilOpState) -> Self
pub fn min_depth_bounds(self, min_depth_bounds: f32) -> Self
pub fn max_depth_bounds(self, max_depth_bounds: f32) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> Clone for PipelineDepthStencilStateCreateInfo<'a>
source§fn clone(&self) -> PipelineDepthStencilStateCreateInfo<'a>
fn clone(&self) -> PipelineDepthStencilStateCreateInfo<'a>
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<'a> Debug for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> Debug for PipelineDepthStencilStateCreateInfo<'a>
source§impl Default for PipelineDepthStencilStateCreateInfo<'_>
impl Default for PipelineDepthStencilStateCreateInfo<'_>
source§impl<'a> TaggedStructure for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> TaggedStructure for PipelineDepthStencilStateCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO
impl<'a> Copy for PipelineDepthStencilStateCreateInfo<'a>
impl Send for PipelineDepthStencilStateCreateInfo<'_>
impl Sync for PipelineDepthStencilStateCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> RefUnwindSafe for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> Unpin for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> UnwindSafe for PipelineDepthStencilStateCreateInfo<'a>
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