#[repr(transparent)]pub struct PhysicalDeviceShadingRateImagePropertiesNVBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceShadingRateImagePropertiesNV
.
Implementations§
source§impl PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl PhysicalDeviceShadingRateImagePropertiesNVBuilder
pub fn shading_rate_texel_size( self, shading_rate_texel_size: impl Cast<Target = 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
pub fn build(self) -> PhysicalDeviceShadingRateImagePropertiesNV
Trait Implementations§
source§impl Cast for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl Cast for PhysicalDeviceShadingRateImagePropertiesNVBuilder
§type Target = PhysicalDeviceShadingRateImagePropertiesNV
type Target = PhysicalDeviceShadingRateImagePropertiesNV
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl Clone for PhysicalDeviceShadingRateImagePropertiesNVBuilder
source§fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNVBuilder
fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNVBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl Default for PhysicalDeviceShadingRateImagePropertiesNVBuilder
source§fn default() -> PhysicalDeviceShadingRateImagePropertiesNVBuilder
fn default() -> PhysicalDeviceShadingRateImagePropertiesNVBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceShadingRateImagePropertiesNVBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl !Send for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl !Sync for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl Unpin for PhysicalDeviceShadingRateImagePropertiesNVBuilder
impl UnwindSafe for PhysicalDeviceShadingRateImagePropertiesNVBuilder
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