pub struct PipelineDepthStencilStateCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineDepthStencilStateCreateFlags) -> Self
pub fn depth_test_enable(self, depth_test_enable: bool) -> Self
pub fn depth_write_enable(self, depth_write_enable: bool) -> Self
pub fn depth_compare_op(self, depth_compare_op: CompareOp) -> Self
pub fn depth_bounds_test_enable(self, depth_bounds_test_enable: bool) -> Self
pub fn stencil_test_enable(self, stencil_test_enable: bool) -> Self
pub fn front(self, front: StencilOpState) -> Self
pub fn back(self, back: StencilOpState) -> Self
pub fn min_depth_bounds(self, min_depth_bounds: f32) -> Self
pub fn max_depth_bounds(self, max_depth_bounds: f32) -> Self
sourcepub fn build(self) -> PipelineDepthStencilStateCreateInfo
pub fn build(self) -> PipelineDepthStencilStateCreateInfo
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> Deref for PipelineDepthStencilStateCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> !Send for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineDepthStencilStateCreateInfoBuilder<'a>
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