pub struct PipelineRasterizationStateCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for PipelineRasterizationStateCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> PipelineRasterizationStateCreateInfoBuilder<'a>
pub fn flags(self, value: PipelineRasterizationStateCreateFlags) -> Self
pub fn depth_clamp_enable(self, value: bool) -> Self
pub fn rasterizer_discard_enable(self, value: bool) -> Self
pub fn polygon_mode(self, value: PolygonMode) -> Self
pub fn cull_mode(self, value: CullModeFlags) -> Self
pub fn front_face(self, value: FrontFace) -> Self
pub fn depth_bias_enable(self, value: bool) -> Self
pub fn depth_bias_constant_factor(self, value: f32) -> Self
pub fn depth_bias_clamp(self, value: f32) -> Self
pub fn depth_bias_slope_factor(self, value: f32) -> Self
pub fn line_width(self, value: f32) -> Self
Sourcepub fn push_next<T: ExtendsPipelineRasterizationStateCreateInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPipelineRasterizationStateCreateInfo>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See PipelineRasterizationStateCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Deref for PipelineRasterizationStateCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> !Send for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> UnsafeUnpin for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineRasterizationStateCreateInfoBuilder<'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