#[repr(transparent)]pub struct PhysicalDeviceSampleLocationsPropertiesEXTBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceSampleLocationsPropertiesEXT
.
Implementations§
source§impl PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl PhysicalDeviceSampleLocationsPropertiesEXTBuilder
pub fn sample_location_sample_counts( self, sample_location_sample_counts: SampleCountFlags ) -> Self
pub fn max_sample_location_grid_size( self, max_sample_location_grid_size: impl Cast<Target = Extent2D> ) -> Self
pub fn sample_location_coordinate_range( self, sample_location_coordinate_range: [f32; 2] ) -> Self
pub fn sample_location_sub_pixel_bits( self, sample_location_sub_pixel_bits: u32 ) -> Self
pub fn variable_sample_locations(self, variable_sample_locations: bool) -> Self
pub fn build(self) -> PhysicalDeviceSampleLocationsPropertiesEXT
Trait Implementations§
source§impl Cast for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl Cast for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
§type Target = PhysicalDeviceSampleLocationsPropertiesEXT
type Target = PhysicalDeviceSampleLocationsPropertiesEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl Clone for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
source§fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder
fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder
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 PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl Default for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
source§fn default() -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder
fn default() -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl !Send for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl !Sync for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl Unpin for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
impl UnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXTBuilder
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