pub struct PipelineDepthStencilStateCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for PipelineDepthStencilStateCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn flags(self, value: PipelineDepthStencilStateCreateFlags) -> Self
pub fn depth_test_enable(self, value: bool) -> Self
pub fn depth_write_enable(self, value: bool) -> Self
pub fn depth_compare_op(self, value: CompareOp) -> Self
pub fn depth_bounds_test_enable(self, value: bool) -> Self
pub fn stencil_test_enable(self, value: bool) -> Self
pub fn front(self, value: StencilOpState) -> Self
pub fn back(self, value: StencilOpState) -> Self
pub fn min_depth_bounds(self, value: f32) -> Self
pub fn max_depth_bounds(self, value: f32) -> Self
Sourcepub fn push_next<T: ExtendsPipelineDepthStencilStateCreateInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPipelineDepthStencilStateCreateInfo>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See PipelineDepthStencilStateCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> Deref for PipelineDepthStencilStateCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineDepthStencilStateCreateInfoBuilder<'a>
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> UnsafeUnpin 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