#[repr(C)]pub struct PipelineDepthStencilStateCreateInfo {
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,
}
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
Implementations§
Source§impl PipelineDepthStencilStateCreateInfo
impl PipelineDepthStencilStateCreateInfo
pub fn builder<'a>() -> PipelineDepthStencilStateCreateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for PipelineDepthStencilStateCreateInfo
impl Clone for PipelineDepthStencilStateCreateInfo
Source§fn clone(&self) -> PipelineDepthStencilStateCreateInfo
fn clone(&self) -> PipelineDepthStencilStateCreateInfo
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 moreimpl Copy for PipelineDepthStencilStateCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineDepthStencilStateCreateInfo
impl RefUnwindSafe for PipelineDepthStencilStateCreateInfo
impl !Send for PipelineDepthStencilStateCreateInfo
impl !Sync for PipelineDepthStencilStateCreateInfo
impl Unpin for PipelineDepthStencilStateCreateInfo
impl UnwindSafe for PipelineDepthStencilStateCreateInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)