[][src]Struct vk_rs::vk::PipelineDepthStencilStateCreateInfo

#[repr(C)]pub struct PipelineDepthStencilStateCreateInfo {
    pub sType: StructureType,
    pub pNext: *const c_void,
    pub flags: PipelineDepthStencilStateCreateFlags,
    pub depthTestEnable: Bool32,
    pub depthWriteEnable: Bool32,
    pub depthCompareOp: CompareOp,
    pub depthBoundsTestEnable: Bool32,
    pub stencilTestEnable: Bool32,
    pub front: StencilOpState,
    pub back: StencilOpState,
    pub minDepthBounds: f32,
    pub maxDepthBounds: f32,
}

Fields

sType: StructureTypepNext: *const c_voidflags: PipelineDepthStencilStateCreateFlagsdepthTestEnable: Bool32depthWriteEnable: Bool32depthCompareOp: CompareOpdepthBoundsTestEnable: Bool32stencilTestEnable: Bool32front: StencilOpStateback: StencilOpStateminDepthBounds: f32maxDepthBounds: f32

Implementations

impl PipelineDepthStencilStateCreateInfo[src]

pub fn new() -> Self[src]

pub fn sType(self, sType: StructureType) -> Self[src]

pub fn pNext(self, pNext: *const c_void) -> Self[src]

pub fn flags(self, flags: PipelineDepthStencilStateCreateFlags) -> Self[src]

pub fn depthTestEnable(self, depthTestEnable: Bool32) -> Self[src]

pub fn depthWriteEnable(self, depthWriteEnable: Bool32) -> Self[src]

pub fn depthCompareOp(self, depthCompareOp: CompareOp) -> Self[src]

pub fn depthBoundsTestEnable(self, depthBoundsTestEnable: Bool32) -> Self[src]

pub fn stencilTestEnable(self, stencilTestEnable: Bool32) -> Self[src]

pub fn front(self, front: StencilOpState) -> Self[src]

pub fn back(self, back: StencilOpState) -> Self[src]

pub fn minDepthBounds(self, minDepthBounds: f32) -> Self[src]

pub fn maxDepthBounds(self, maxDepthBounds: f32) -> Self[src]

Trait Implementations

impl Clone for PipelineDepthStencilStateCreateInfo[src]

impl Copy for PipelineDepthStencilStateCreateInfo[src]

impl Debug for PipelineDepthStencilStateCreateInfo[src]

impl Default for PipelineDepthStencilStateCreateInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.