pub struct RasterizationState {
pub flags: PipelineRasterizationStateCreateFlags,
pub depth_clamp_enable: bool,
pub rasterizer_discard_enable: bool,
pub polygon_mode: PolygonMode,
pub cull_mode: CullModeFlags,
pub front_face: FrontFace,
pub depth_bias_enable: bool,
pub depth_bias_constant_factor: f32,
pub depth_bias_clamp: f32,
pub depth_bias_slope_factor: f32,
pub line_width: f32,
}Expand description
Fields§
§flags: PipelineRasterizationStateCreateFlags§depth_clamp_enable: bool§rasterizer_discard_enable: bool§polygon_mode: PolygonMode§cull_mode: CullModeFlags§front_face: FrontFace§depth_bias_enable: bool§depth_bias_constant_factor: f32§depth_bias_clamp: f32§depth_bias_slope_factor: f32§line_width: f32Implementations§
Source§impl RasterizationState
impl RasterizationState
pub fn write_create_info_builder<'a>( &self, builder: PipelineRasterizationStateCreateInfoBuilder<'a>, ) -> PipelineRasterizationStateCreateInfoBuilder<'a>
pub fn create_info_builder( &self, ) -> PipelineRasterizationStateCreateInfoBuilder<'_>
pub fn from_create_info_builder( value: &PipelineRasterizationStateCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for RasterizationState
impl Clone for RasterizationState
Source§fn clone(&self) -> RasterizationState
fn clone(&self) -> RasterizationState
Returns a duplicate 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 Debug for RasterizationState
impl Debug for RasterizationState
Auto Trait Implementations§
impl Freeze for RasterizationState
impl RefUnwindSafe for RasterizationState
impl Send for RasterizationState
impl Sync for RasterizationState
impl Unpin for RasterizationState
impl UnwindSafe for RasterizationState
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