[−][src]Struct nobs_vulkanism_headless::pipes::pipeline::builder::graphics::depth_stencil::Builder
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
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,