#[repr(C)]pub struct PhysicalDeviceFragmentShadingRateFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub pipeline_fragment_shading_rate: Bool32,
pub primitive_fragment_shading_rate: Bool32,
pub attachment_fragment_shading_rate: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§pipeline_fragment_shading_rate: Bool32
§primitive_fragment_shading_rate: Bool32
§attachment_fragment_shading_rate: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
pub fn pipeline_fragment_shading_rate( self, pipeline_fragment_shading_rate: bool, ) -> Self
pub fn primitive_fragment_shading_rate( self, primitive_fragment_shading_rate: bool, ) -> Self
pub fn attachment_fragment_shading_rate( self, attachment_fragment_shading_rate: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> Clone for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
fn clone(&self) -> PhysicalDeviceFragmentShadingRateFeaturesKHR<'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 PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> Debug for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR
impl<'a> Copy for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceFragmentShadingRateFeaturesKHR<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceFragmentShadingRateFeaturesKHR<'_>
impl Send for PhysicalDeviceFragmentShadingRateFeaturesKHR<'_>
impl Sync for PhysicalDeviceFragmentShadingRateFeaturesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShadingRateFeaturesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShadingRateFeaturesKHR<'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