pub struct DepthStencilState {
pub flags: PipelineDepthStencilStateCreateFlags,
pub depth_test_enable: bool,
pub depth_write_enable: bool,
pub depth_compare_op: CompareOp,
pub depth_bounds_test_enable: bool,
pub stencil_test_enable: bool,
pub front: StencilOpState,
pub back: StencilOpState,
pub min_depth_bounds: f32,
pub max_depth_bounds: f32,
}Expand description
Fields§
§flags: PipelineDepthStencilStateCreateFlags§depth_test_enable: bool§depth_write_enable: bool§depth_compare_op: CompareOp§depth_bounds_test_enable: bool§stencil_test_enable: bool§front: StencilOpState§back: StencilOpState§min_depth_bounds: f32§max_depth_bounds: f32Implementations§
Source§impl DepthStencilState
impl DepthStencilState
pub fn write_create_info_builder<'a>( &self, builder: PipelineDepthStencilStateCreateInfoBuilder<'a>, ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn create_info_builder( &self, ) -> PipelineDepthStencilStateCreateInfoBuilder<'_>
pub fn from_create_info_builder( value: &PipelineDepthStencilStateCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for DepthStencilState
impl Clone for DepthStencilState
Source§fn clone(&self) -> DepthStencilState
fn clone(&self) -> DepthStencilState
Returns a duplicate 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 DepthStencilState
impl Debug for DepthStencilState
Auto Trait Implementations§
impl Freeze for DepthStencilState
impl RefUnwindSafe for DepthStencilState
impl Send for DepthStencilState
impl Sync for DepthStencilState
impl Unpin for DepthStencilState
impl UnwindSafe for DepthStencilState
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