#[repr(transparent)]pub struct PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
type Target = PhysicalDeviceShadingRateImagePropertiesNV
type Target = PhysicalDeviceShadingRateImagePropertiesNV
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more