pub struct PipelineDepthStencilStateCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn flags( self, flags: PipelineDepthStencilStateCreateFlags ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn depth_test_enable( self, depth_test_enable: bool ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn depth_write_enable( self, depth_write_enable: bool ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn depth_compare_op( self, depth_compare_op: CompareOp ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn depth_bounds_test_enable( self, depth_bounds_test_enable: bool ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn stencil_test_enable( self, stencil_test_enable: bool ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn front( self, front: StencilOpState ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn back( self, back: StencilOpState ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn min_depth_bounds( self, min_depth_bounds: f32 ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
pub fn max_depth_bounds( self, max_depth_bounds: f32 ) -> PipelineDepthStencilStateCreateInfoBuilder<'a>
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>
§type Target = PipelineDepthStencilStateCreateInfo
type Target = PipelineDepthStencilStateCreateInfo
The resulting type after dereferencing.
source§impl<'a> DerefMut for PipelineDepthStencilStateCreateInfoBuilder<'a>
impl<'a> DerefMut 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