#[repr(C)]pub struct SampleLocationsInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub sample_locations_per_pixel: SampleCountFlagBits,
pub sample_location_grid_size: Extent2D,
pub sample_locations_count: u32,
pub p_sample_locations: *const SampleLocationEXT,
}Expand description
VkSampleLocationsInfoEXT
Provided by VK_EXT_sample_locations.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT.
p_next: *const c_voidOptional, may be null.
sample_locations_per_pixel: SampleCountFlagBits§sample_location_grid_size: Extent2D§sample_locations_count: u32Length of p_sample_locations.
p_sample_locations: *const SampleLocationEXTImplementations§
Source§impl SampleLocationsInfoEXT
impl SampleLocationsInfoEXT
Sourcepub fn builder<'a>() -> SampleLocationsInfoEXTBuilder<'a>
pub fn builder<'a>() -> SampleLocationsInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SampleLocationsInfoEXT
impl Clone for SampleLocationsInfoEXT
Source§fn clone(&self) -> SampleLocationsInfoEXT
fn clone(&self) -> SampleLocationsInfoEXT
Returns a duplicate 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 Debug for SampleLocationsInfoEXT
impl Debug for SampleLocationsInfoEXT
Source§impl Default for SampleLocationsInfoEXT
impl Default for SampleLocationsInfoEXT
Source§fn default() -> SampleLocationsInfoEXT
fn default() -> SampleLocationsInfoEXT
Returns the “default value” for a type. Read more
impl Copy for SampleLocationsInfoEXT
impl ExtendsImageMemoryBarrier for SampleLocationsInfoEXT
impl ExtendsImageMemoryBarrier2 for SampleLocationsInfoEXT
Auto Trait Implementations§
impl Freeze for SampleLocationsInfoEXT
impl RefUnwindSafe for SampleLocationsInfoEXT
impl !Send for SampleLocationsInfoEXT
impl !Sync for SampleLocationsInfoEXT
impl Unpin for SampleLocationsInfoEXT
impl UnsafeUnpin for SampleLocationsInfoEXT
impl UnwindSafe for SampleLocationsInfoEXT
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