pub struct PipelineDepthStencilStateCreateInfoBuilder { /* private fields */ }
Expand description
A builder for a PipelineDepthStencilStateCreateInfo
.
Implementations§
source§impl PipelineDepthStencilStateCreateInfoBuilder
impl PipelineDepthStencilStateCreateInfoBuilder
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: impl Cast<Target = StencilOpState>) -> Self
pub fn back(self, back: impl Cast<Target = StencilOpState>) -> Self
pub fn min_depth_bounds(self, min_depth_bounds: f32) -> Self
pub fn max_depth_bounds(self, max_depth_bounds: f32) -> Self
pub fn build(self) -> PipelineDepthStencilStateCreateInfo
Trait Implementations§
source§impl Cast for PipelineDepthStencilStateCreateInfoBuilder
impl Cast for PipelineDepthStencilStateCreateInfoBuilder
§type Target = PipelineDepthStencilStateCreateInfo
type Target = PipelineDepthStencilStateCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PipelineDepthStencilStateCreateInfoBuilder
impl Clone for PipelineDepthStencilStateCreateInfoBuilder
source§fn clone(&self) -> PipelineDepthStencilStateCreateInfoBuilder
fn clone(&self) -> PipelineDepthStencilStateCreateInfoBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PipelineDepthStencilStateCreateInfoBuilder
impl Default for PipelineDepthStencilStateCreateInfoBuilder
source§fn default() -> PipelineDepthStencilStateCreateInfoBuilder
fn default() -> PipelineDepthStencilStateCreateInfoBuilder
Returns the “default value” for a type. Read more
impl Copy for PipelineDepthStencilStateCreateInfoBuilder
Auto Trait Implementations§
impl Freeze for PipelineDepthStencilStateCreateInfoBuilder
impl RefUnwindSafe for PipelineDepthStencilStateCreateInfoBuilder
impl !Send for PipelineDepthStencilStateCreateInfoBuilder
impl !Sync for PipelineDepthStencilStateCreateInfoBuilder
impl Unpin for PipelineDepthStencilStateCreateInfoBuilder
impl UnwindSafe for PipelineDepthStencilStateCreateInfoBuilder
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