Struct ash::vk::PipelineRasterizationStateCreateInfo
source · #[repr(C)]pub struct PipelineRasterizationStateCreateInfo {Show 13 fields
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,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineRasterizationStateCreateFlags
§depth_clamp_enable: Bool32
§rasterizer_discard_enable: Bool32
§polygon_mode: PolygonMode
§cull_mode: CullModeFlags
§front_face: FrontFace
§depth_bias_enable: Bool32
§depth_bias_constant_factor: f32
§depth_bias_clamp: f32
§depth_bias_slope_factor: f32
§line_width: f32
Implementations§
source§impl PipelineRasterizationStateCreateInfo
impl PipelineRasterizationStateCreateInfo
pub fn builder<'a>() -> PipelineRasterizationStateCreateInfoBuilder<'a>
Trait Implementations§
source§impl Clone for PipelineRasterizationStateCreateInfo
impl Clone for PipelineRasterizationStateCreateInfo
source§fn clone(&self) -> PipelineRasterizationStateCreateInfo
fn clone(&self) -> PipelineRasterizationStateCreateInfo
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 TaggedStructure for PipelineRasterizationStateCreateInfo
impl TaggedStructure for PipelineRasterizationStateCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_RASTERIZATION_STATE_CREATE_INFO
impl Copy for PipelineRasterizationStateCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineRasterizationStateCreateInfo
impl RefUnwindSafe for PipelineRasterizationStateCreateInfo
impl !Send for PipelineRasterizationStateCreateInfo
impl !Sync for PipelineRasterizationStateCreateInfo
impl Unpin for PipelineRasterizationStateCreateInfo
impl UnwindSafe for PipelineRasterizationStateCreateInfo
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