pub struct PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
pub fn shading_rate_texel_size(self, shading_rate_texel_size: Extent2D) -> Self
pub fn shading_rate_palette_size(self, shading_rate_palette_size: u32) -> Self
pub fn shading_rate_max_coarse_samples( self, shading_rate_max_coarse_samples: u32 ) -> Self
sourcepub fn build(self) -> PhysicalDeviceShadingRateImagePropertiesNV
pub fn build(self) -> PhysicalDeviceShadingRateImagePropertiesNV
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 PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'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