#[repr(C)]pub struct PipelineDepthStencilStateCreateInfo {
pub s_type: StructureType,
pub 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,
}
Expand description
Fields§
§s_type: StructureType
§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
Trait Implementations§
source§impl Cast for PipelineDepthStencilStateCreateInfo
impl Cast for PipelineDepthStencilStateCreateInfo
§type Target = PipelineDepthStencilStateCreateInfo
type Target = PipelineDepthStencilStateCreateInfo
The other type this type can be used interchangeably with in FFI.
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 moresource§impl Default for PipelineDepthStencilStateCreateInfo
impl Default for PipelineDepthStencilStateCreateInfo
source§fn default() -> PipelineDepthStencilStateCreateInfo
fn default() -> PipelineDepthStencilStateCreateInfo
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for PipelineDepthStencilStateCreateInfo
impl HasBuilder<'static> for PipelineDepthStencilStateCreateInfo
source§impl PartialEq for PipelineDepthStencilStateCreateInfo
impl PartialEq for PipelineDepthStencilStateCreateInfo
source§fn eq(&self, other: &PipelineDepthStencilStateCreateInfo) -> bool
fn eq(&self, other: &PipelineDepthStencilStateCreateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PipelineDepthStencilStateCreateInfo
impl StructuralPartialEq 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