[][src]Struct ash::vk::PipelineRasterizationStateCreateInfo

#[repr(C)]
pub struct PipelineRasterizationStateCreateInfo {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub flags: PipelineRasterizationStateCreateFlags,
    pub depth_clamp_enable: Bool32,
    pub rasterizer_discard_enable: Bool32,
    pub polygon_mode: PolygonMode,
    pub cull_mode: CullModeFlags,
    pub front_face: FrontFace,
    pub depth_bias_enable: Bool32,
    pub depth_bias_constant_factor: f32,
    pub depth_bias_clamp: f32,
    pub depth_bias_slope_factor: f32,
    pub line_width: f32,
}

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkPipelineRasterizationStateCreateInfo.html

Fields

s_type: StructureTypep_next: *const c_voidflags: PipelineRasterizationStateCreateFlagsdepth_clamp_enable: Bool32rasterizer_discard_enable: Bool32polygon_mode: PolygonModecull_mode: CullModeFlagsfront_face: FrontFacedepth_bias_enable: Bool32depth_bias_constant_factor: f32depth_bias_clamp: f32depth_bias_slope_factor: f32line_width: f32

Methods

impl PipelineRasterizationStateCreateInfo[src]

pub fn builder<'a>() -> PipelineRasterizationStateCreateInfoBuilder<'a>[src]

Trait Implementations

impl Copy for PipelineRasterizationStateCreateInfo[src]

impl Default for PipelineRasterizationStateCreateInfo[src]

impl Clone for PipelineRasterizationStateCreateInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PipelineRasterizationStateCreateInfo[src]

Auto Trait Implementations

impl Unpin for PipelineRasterizationStateCreateInfo

impl !Sync for PipelineRasterizationStateCreateInfo

impl !Send for PipelineRasterizationStateCreateInfo

impl UnwindSafe for PipelineRasterizationStateCreateInfo

impl RefUnwindSafe for PipelineRasterizationStateCreateInfo

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]