#[repr(transparent)]pub struct PipelineRasterizationStateCreateInfoBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PipelineRasterizationStateCreateInfo
Implementations
sourceimpl<'a> PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> PipelineRasterizationStateCreateInfoBuilder<'a>
pub fn new() -> PipelineRasterizationStateCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineRasterizationStateCreateFlags) -> Self
pub fn depth_clamp_enable(self, depth_clamp_enable: bool) -> Self
pub fn rasterizer_discard_enable(self, rasterizer_discard_enable: bool) -> Self
pub fn polygon_mode(self, polygon_mode: PolygonMode) -> Self
pub fn cull_mode(self, cull_mode: CullModeFlags) -> Self
pub fn front_face(self, front_face: FrontFace) -> Self
pub fn depth_bias_enable(self, depth_bias_enable: bool) -> Self
pub fn depth_bias_constant_factor(
self,
depth_bias_constant_factor: c_float
) -> Self
pub fn depth_bias_clamp(self, depth_bias_clamp: c_float) -> Self
pub fn depth_bias_slope_factor(self, depth_bias_slope_factor: c_float) -> Self
pub fn line_width(self, line_width: c_float) -> Self
sourcepub fn build_dangling(self) -> PipelineRasterizationStateCreateInfo
pub fn build_dangling(self) -> PipelineRasterizationStateCreateInfo
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = PipelineRasterizationStateCreateInfo>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PIPELINE_RASTERIZATION_STATE_CREATE_INFO
Trait Implementations
sourceimpl<'a> Clone for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Clone for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn clone(&self) -> PipelineRasterizationStateCreateInfoBuilder<'a>
fn clone(&self) -> PipelineRasterizationStateCreateInfoBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Debug for PipelineRasterizationStateCreateInfoBuilder<'a>
sourceimpl<'a> Default for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Default for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn default() -> PipelineRasterizationStateCreateInfoBuilder<'a>
fn default() -> PipelineRasterizationStateCreateInfoBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> Deref for PipelineRasterizationStateCreateInfoBuilder<'a>
type Target = PipelineRasterizationStateCreateInfo
type Target = PipelineRasterizationStateCreateInfo
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> DerefMut for PipelineRasterizationStateCreateInfoBuilder<'a>
sourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationConservativeStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationConservativeStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationDepthClipStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationDepthClipStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationDepthClipStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationDepthClipStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationLineStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationLineStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationLineStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationLineStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationProvokingVertexStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationProvokingVertexStateCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationProvokingVertexStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationProvokingVertexStateCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationStateRasterizationOrderAMD> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationStateRasterizationOrderAMD> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationStateRasterizationOrderAMDBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationStateRasterizationOrderAMDBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationStateStreamCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationStateStreamCreateInfoEXT> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, PipelineRasterizationStateStreamCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
impl<'a> ExtendableFrom<'a, PipelineRasterizationStateStreamCreateInfoEXTBuilder<'_>> for PipelineRasterizationStateCreateInfoBuilder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for PipelineRasterizationStateCreateInfoBuilder<'a>
Auto Trait Implementations
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> UnwindSafe for PipelineRasterizationStateCreateInfoBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more