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> Freeze for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a>
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