Struct ash::vk::definitions::SparseImageMemoryRequirements
source · #[repr(C)]pub struct SparseImageMemoryRequirements {
pub format_properties: SparseImageFormatProperties,
pub image_mip_tail_first_lod: u32,
pub image_mip_tail_size: DeviceSize,
pub image_mip_tail_offset: DeviceSize,
pub image_mip_tail_stride: DeviceSize,
}
Expand description
Fields§
§format_properties: SparseImageFormatProperties
§image_mip_tail_first_lod: u32
§image_mip_tail_size: DeviceSize
§image_mip_tail_offset: DeviceSize
§image_mip_tail_stride: DeviceSize
Implementations§
source§impl SparseImageMemoryRequirements
impl SparseImageMemoryRequirements
pub fn format_properties( self, format_properties: SparseImageFormatProperties, ) -> Self
pub fn image_mip_tail_first_lod(self, image_mip_tail_first_lod: u32) -> Self
pub fn image_mip_tail_size(self, image_mip_tail_size: DeviceSize) -> Self
pub fn image_mip_tail_offset(self, image_mip_tail_offset: DeviceSize) -> Self
pub fn image_mip_tail_stride(self, image_mip_tail_stride: DeviceSize) -> Self
Trait Implementations§
source§impl Clone for SparseImageMemoryRequirements
impl Clone for SparseImageMemoryRequirements
source§fn clone(&self) -> SparseImageMemoryRequirements
fn clone(&self) -> SparseImageMemoryRequirements
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 SparseImageMemoryRequirements
impl Default for SparseImageMemoryRequirements
source§fn default() -> SparseImageMemoryRequirements
fn default() -> SparseImageMemoryRequirements
Returns the “default value” for a type. Read more
impl Copy for SparseImageMemoryRequirements
Auto Trait Implementations§
impl Freeze for SparseImageMemoryRequirements
impl RefUnwindSafe for SparseImageMemoryRequirements
impl Send for SparseImageMemoryRequirements
impl Sync for SparseImageMemoryRequirements
impl Unpin for SparseImageMemoryRequirements
impl UnwindSafe for SparseImageMemoryRequirements
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)