#[repr(C)]pub struct PhysicalDeviceSparseImageFormatInfo2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub format: Format,
pub type: ImageType,
pub samples: SampleCountFlagBits,
pub usage: ImageUsageFlagBits,
pub tiling: ImageTiling,
}Expand description
VkPhysicalDeviceSparseImageFormatInfo2
Provided by VK_BASE_VERSION_1_1.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2.
p_next: *const c_voidOptional, may be null.
format: Format§type: ImageType§samples: SampleCountFlagBits§usage: ImageUsageFlagBits§tiling: ImageTilingImplementations§
Source§impl PhysicalDeviceSparseImageFormatInfo2
impl PhysicalDeviceSparseImageFormatInfo2
Sourcepub fn builder<'a>() -> PhysicalDeviceSparseImageFormatInfo2Builder<'a>
pub fn builder<'a>() -> PhysicalDeviceSparseImageFormatInfo2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceSparseImageFormatInfo2
impl Clone for PhysicalDeviceSparseImageFormatInfo2
Source§fn clone(&self) -> PhysicalDeviceSparseImageFormatInfo2
fn clone(&self) -> PhysicalDeviceSparseImageFormatInfo2
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 Default for PhysicalDeviceSparseImageFormatInfo2
impl Default for PhysicalDeviceSparseImageFormatInfo2
Source§fn default() -> PhysicalDeviceSparseImageFormatInfo2
fn default() -> PhysicalDeviceSparseImageFormatInfo2
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceSparseImageFormatInfo2
Auto Trait Implementations§
impl Freeze for PhysicalDeviceSparseImageFormatInfo2
impl RefUnwindSafe for PhysicalDeviceSparseImageFormatInfo2
impl !Send for PhysicalDeviceSparseImageFormatInfo2
impl !Sync for PhysicalDeviceSparseImageFormatInfo2
impl Unpin for PhysicalDeviceSparseImageFormatInfo2
impl UnsafeUnpin for PhysicalDeviceSparseImageFormatInfo2
impl UnwindSafe for PhysicalDeviceSparseImageFormatInfo2
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