#[repr(C)]pub struct PhysicalDeviceFragmentShadingRatePropertiesKHR<'a> {Show 20 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub min_fragment_shading_rate_attachment_texel_size: Extent2D,
pub max_fragment_shading_rate_attachment_texel_size: Extent2D,
pub max_fragment_shading_rate_attachment_texel_size_aspect_ratio: u32,
pub primitive_fragment_shading_rate_with_multiple_viewports: Bool32,
pub layered_shading_rate_attachments: Bool32,
pub fragment_shading_rate_non_trivial_combiner_ops: Bool32,
pub max_fragment_size: Extent2D,
pub max_fragment_size_aspect_ratio: u32,
pub max_fragment_shading_rate_coverage_samples: u32,
pub max_fragment_shading_rate_rasterization_samples: SampleCountFlags,
pub fragment_shading_rate_with_shader_depth_stencil_writes: Bool32,
pub fragment_shading_rate_with_sample_mask: Bool32,
pub fragment_shading_rate_with_shader_sample_mask: Bool32,
pub fragment_shading_rate_with_conservative_rasterization: Bool32,
pub fragment_shading_rate_with_fragment_shader_interlock: Bool32,
pub fragment_shading_rate_with_custom_sample_locations: Bool32,
pub fragment_shading_rate_strict_multiply_combiner: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§min_fragment_shading_rate_attachment_texel_size: Extent2D
§max_fragment_shading_rate_attachment_texel_size: Extent2D
§max_fragment_shading_rate_attachment_texel_size_aspect_ratio: u32
§primitive_fragment_shading_rate_with_multiple_viewports: Bool32
§layered_shading_rate_attachments: Bool32
§fragment_shading_rate_non_trivial_combiner_ops: Bool32
§max_fragment_size: Extent2D
§max_fragment_size_aspect_ratio: u32
§max_fragment_shading_rate_coverage_samples: u32
§max_fragment_shading_rate_rasterization_samples: SampleCountFlags
§fragment_shading_rate_with_shader_depth_stencil_writes: Bool32
§fragment_shading_rate_with_sample_mask: Bool32
§fragment_shading_rate_with_shader_sample_mask: Bool32
§fragment_shading_rate_with_conservative_rasterization: Bool32
§fragment_shading_rate_with_fragment_shader_interlock: Bool32
§fragment_shading_rate_with_custom_sample_locations: Bool32
§fragment_shading_rate_strict_multiply_combiner: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
pub fn min_fragment_shading_rate_attachment_texel_size( self, min_fragment_shading_rate_attachment_texel_size: Extent2D, ) -> Self
pub fn max_fragment_shading_rate_attachment_texel_size( self, max_fragment_shading_rate_attachment_texel_size: Extent2D, ) -> Self
pub fn max_fragment_shading_rate_attachment_texel_size_aspect_ratio( self, max_fragment_shading_rate_attachment_texel_size_aspect_ratio: u32, ) -> Self
pub fn primitive_fragment_shading_rate_with_multiple_viewports( self, primitive_fragment_shading_rate_with_multiple_viewports: bool, ) -> Self
pub fn layered_shading_rate_attachments( self, layered_shading_rate_attachments: bool, ) -> Self
pub fn fragment_shading_rate_non_trivial_combiner_ops( self, fragment_shading_rate_non_trivial_combiner_ops: bool, ) -> Self
pub fn max_fragment_size(self, max_fragment_size: Extent2D) -> Self
pub fn max_fragment_size_aspect_ratio( self, max_fragment_size_aspect_ratio: u32, ) -> Self
pub fn max_fragment_shading_rate_coverage_samples( self, max_fragment_shading_rate_coverage_samples: u32, ) -> Self
pub fn max_fragment_shading_rate_rasterization_samples( self, max_fragment_shading_rate_rasterization_samples: SampleCountFlags, ) -> Self
pub fn fragment_shading_rate_with_shader_depth_stencil_writes( self, fragment_shading_rate_with_shader_depth_stencil_writes: bool, ) -> Self
pub fn fragment_shading_rate_with_sample_mask( self, fragment_shading_rate_with_sample_mask: bool, ) -> Self
pub fn fragment_shading_rate_with_shader_sample_mask( self, fragment_shading_rate_with_shader_sample_mask: bool, ) -> Self
pub fn fragment_shading_rate_with_conservative_rasterization( self, fragment_shading_rate_with_conservative_rasterization: bool, ) -> Self
pub fn fragment_shading_rate_with_fragment_shader_interlock( self, fragment_shading_rate_with_fragment_shader_interlock: bool, ) -> Self
pub fn fragment_shading_rate_with_custom_sample_locations( self, fragment_shading_rate_with_custom_sample_locations: bool, ) -> Self
pub fn fragment_shading_rate_strict_multiply_combiner( self, fragment_shading_rate_strict_multiply_combiner: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> Clone for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
fn clone(&self) -> PhysicalDeviceFragmentShadingRatePropertiesKHR<'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 PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> Debug for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR
impl<'a> Copy for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceFragmentShadingRatePropertiesKHR<'_>
impl Send for PhysicalDeviceFragmentShadingRatePropertiesKHR<'_>
impl Sync for PhysicalDeviceFragmentShadingRatePropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShadingRatePropertiesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShadingRatePropertiesKHR<'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