#[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 moreimpl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)