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