#[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
Native structure VkSparseImageMemoryRequirements.
Fields§
§format_properties: SparseImageFormatPropertiesNative field formatProperties.
image_mip_tail_first_lod: u32Native field imageMipTailFirstLod.
image_mip_tail_size: DeviceSizeNative field imageMipTailSize.
image_mip_tail_offset: DeviceSizeNative field imageMipTailOffset.
image_mip_tail_stride: DeviceSizeNative field imageMipTailStride.
Implementations§
Source§impl SparseImageMemoryRequirements
impl SparseImageMemoryRequirements
Sourcepub fn set_format_properties(self, value: SparseImageFormatProperties) -> Self
pub fn set_format_properties(self, value: SparseImageFormatProperties) -> Self
Set native field formatProperties without native effects.
Sourcepub fn set_image_mip_tail_first_lod(self, value: u32) -> Self
pub fn set_image_mip_tail_first_lod(self, value: u32) -> Self
Set native field imageMipTailFirstLod without native effects.
Sourcepub fn set_image_mip_tail_size(self, value: DeviceSize) -> Self
pub fn set_image_mip_tail_size(self, value: DeviceSize) -> Self
Set native field imageMipTailSize without native effects.
Sourcepub fn set_image_mip_tail_offset(self, value: DeviceSize) -> Self
pub fn set_image_mip_tail_offset(self, value: DeviceSize) -> Self
Set native field imageMipTailOffset without native effects.
Sourcepub fn set_image_mip_tail_stride(self, value: DeviceSize) -> Self
pub fn set_image_mip_tail_stride(self, value: DeviceSize) -> Self
Set native field imageMipTailStride without native effects.
Trait Implementations§
impl Copy for SparseImageMemoryRequirements
Auto Trait Implementations§
impl Forget for SparseImageMemoryRequirements
impl Freeze for SparseImageMemoryRequirements
impl Move for SparseImageMemoryRequirements
impl RefUnwindSafe for SparseImageMemoryRequirements
impl Send for SparseImageMemoryRequirements
impl Sync for SparseImageMemoryRequirements
impl Unpin for SparseImageMemoryRequirements
impl UnsafeUnpin 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