pub struct PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'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
sourcepub fn build(self) -> PhysicalDeviceFragmentShadingRateFeaturesKHR
pub fn build(self) -> PhysicalDeviceFragmentShadingRateFeaturesKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> Deref for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> !Send for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> !Sync for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'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