#[repr(C)]pub struct PhysicalDeviceConservativeRasterizationPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub primitive_overestimation_size: f32,
pub max_extra_primitive_overestimation_size: f32,
pub extra_primitive_overestimation_size_granularity: f32,
pub primitive_underestimation: Bool32,
pub conservative_point_and_line_rasterization: Bool32,
pub degenerate_triangles_rasterized: Bool32,
pub degenerate_lines_rasterized: Bool32,
pub fully_covered_fragment_shader_input_variable: Bool32,
pub conservative_rasterization_post_depth_coverage: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§primitive_overestimation_size: f32
§max_extra_primitive_overestimation_size: f32
§extra_primitive_overestimation_size_granularity: f32
§primitive_underestimation: Bool32
§conservative_point_and_line_rasterization: Bool32
§degenerate_triangles_rasterized: Bool32
§degenerate_lines_rasterized: Bool32
§fully_covered_fragment_shader_input_variable: Bool32
§conservative_rasterization_post_depth_coverage: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
pub fn primitive_overestimation_size( self, primitive_overestimation_size: f32, ) -> Self
pub fn max_extra_primitive_overestimation_size( self, max_extra_primitive_overestimation_size: f32, ) -> Self
pub fn extra_primitive_overestimation_size_granularity( self, extra_primitive_overestimation_size_granularity: f32, ) -> Self
pub fn primitive_underestimation(self, primitive_underestimation: bool) -> Self
pub fn conservative_point_and_line_rasterization( self, conservative_point_and_line_rasterization: bool, ) -> Self
pub fn degenerate_triangles_rasterized( self, degenerate_triangles_rasterized: bool, ) -> Self
pub fn degenerate_lines_rasterized( self, degenerate_lines_rasterized: bool, ) -> Self
pub fn fully_covered_fragment_shader_input_variable( self, fully_covered_fragment_shader_input_variable: bool, ) -> Self
pub fn conservative_rasterization_post_depth_coverage( self, conservative_rasterization_post_depth_coverage: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> Clone for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
source§fn clone(&self) -> PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
fn clone(&self) -> PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
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<'a> Debug for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> Debug for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> TaggedStructure for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT
impl<'a> Copy for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceConservativeRasterizationPropertiesEXT<'_>
impl Send for PhysicalDeviceConservativeRasterizationPropertiesEXT<'_>
impl Sync for PhysicalDeviceConservativeRasterizationPropertiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> Unpin for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
impl<'a> UnwindSafe for PhysicalDeviceConservativeRasterizationPropertiesEXT<'a>
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