[][src]Struct nobs_vulkanism_headless::pipes::pipeline::builder::graphics::depth_stencil::Builder

pub struct Builder {
    pub info: PipelineDepthStencilStateCreateInfo,
}

Builder for a depth stencil state

Default initialized with

  • depth test: enabled
  • depth write: enabled
  • depth compare: vk::COMPARE_OP_LESS
  • depth bounds test: disabled
  • min depth bounds: 0
  • max depth bounds: 1
  • stencil test: disabled
  • front: uninitialized
  • back: uninitialized

Fields

info: PipelineDepthStencilStateCreateInfo

Methods

impl Builder[src]

pub fn raw(info: PipelineDepthStencilStateCreateInfo) -> Builder[src]

pub fn depth_test_enable(self, enable: u32) -> Builder[src]

pub fn depth_write_enable(self, enable: u32) -> Builder[src]

pub fn depth_compare(self, op: u32) -> Builder[src]

pub fn depth_bounds_test_enable(self, enable: u32) -> Builder[src]

pub fn min_depth_bounds(self, min: f32) -> Builder[src]

pub fn max_depth_bounds(self, max: f32) -> Builder[src]

pub fn stencil_test_enable(self, enable: u32) -> Builder[src]

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

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

Trait Implementations

impl Default for Builder[src]

Auto Trait Implementations

impl !Send for Builder

impl !Sync for Builder

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.