pub struct PhysicalDeviceFragmentShadingRateKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
pub fn sample_counts(self, sample_counts: SampleCountFlags) -> Self
pub fn fragment_size(self, fragment_size: Extent2D) -> Self
sourcepub fn build(self) -> PhysicalDeviceFragmentShadingRateKHR
pub fn build(self) -> PhysicalDeviceFragmentShadingRateKHR
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 PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> Deref for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> !Send for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> !Sync for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShadingRateKHRBuilder<'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