#[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: u32,
pub depth_write_enable: u32,
pub depth_compare_op: CompareOp,
pub depth_bounds_test_enable: u32,
pub stencil_test_enable: u32,
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: u32§depth_write_enable: u32§depth_compare_op: CompareOp§depth_bounds_test_enable: u32§stencil_test_enable: u32§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, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn depth_test_enable( self, depth_test_enable: bool, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn depth_write_enable( self, depth_write_enable: bool, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn depth_compare_op( self, depth_compare_op: CompareOp, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn depth_bounds_test_enable( self, depth_bounds_test_enable: bool, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn stencil_test_enable( self, stencil_test_enable: bool, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn front( self, front: StencilOpState, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn back( self, back: StencilOpState, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn min_depth_bounds( self, min_depth_bounds: f32, ) -> PipelineDepthStencilStateCreateInfo<'a>
pub fn max_depth_bounds( self, max_depth_bounds: f32, ) -> PipelineDepthStencilStateCreateInfo<'a>
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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PipelineDepthStencilStateCreateInfo<'a>
Source§impl Default for PipelineDepthStencilStateCreateInfo<'_>
impl Default for PipelineDepthStencilStateCreateInfo<'_>
Source§fn default() -> PipelineDepthStencilStateCreateInfo<'_>
fn default() -> PipelineDepthStencilStateCreateInfo<'_>
Returns the “default value” for a type. Read more
impl Send for PipelineDepthStencilStateCreateInfo<'_>
impl Sync 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
Auto Trait Implementations§
impl<'a> Freeze for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> RefUnwindSafe for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> Unpin for PipelineDepthStencilStateCreateInfo<'a>
impl<'a> UnsafeUnpin 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