#[repr(C)]pub struct ImageFormatProperties {
pub max_extent: Extent3D,
pub max_mip_levels: u32,
pub max_array_layers: u32,
pub sample_counts: SampleCountFlags,
pub max_resource_size: DeviceSize,
}Expand description
Native structure VkImageFormatProperties.
Fields§
§max_extent: Extent3DNative field maxExtent.
max_mip_levels: u32Native field maxMipLevels.
max_array_layers: u32Native field maxArrayLayers.
sample_counts: SampleCountFlagsNative field sampleCounts.
max_resource_size: DeviceSizeNative field maxResourceSize.
Implementations§
Source§impl ImageFormatProperties
impl ImageFormatProperties
Sourcepub fn set_max_extent(self, value: Extent3D) -> Self
pub fn set_max_extent(self, value: Extent3D) -> Self
Set native field maxExtent without native effects.
Sourcepub fn set_max_mip_levels(self, value: u32) -> Self
pub fn set_max_mip_levels(self, value: u32) -> Self
Set native field maxMipLevels without native effects.
Sourcepub fn set_max_array_layers(self, value: u32) -> Self
pub fn set_max_array_layers(self, value: u32) -> Self
Set native field maxArrayLayers without native effects.
Sourcepub fn set_sample_counts(self, value: SampleCountFlags) -> Self
pub fn set_sample_counts(self, value: SampleCountFlags) -> Self
Set native field sampleCounts without native effects.
Sourcepub fn set_max_resource_size(self, value: DeviceSize) -> Self
pub fn set_max_resource_size(self, value: DeviceSize) -> Self
Set native field maxResourceSize without native effects.
Trait Implementations§
Source§impl Clone for ImageFormatProperties
impl Clone for ImageFormatProperties
impl Copy for ImageFormatProperties
Auto Trait Implementations§
impl Forget for ImageFormatProperties
impl Freeze for ImageFormatProperties
impl Move for ImageFormatProperties
impl RefUnwindSafe for ImageFormatProperties
impl Send for ImageFormatProperties
impl Sync for ImageFormatProperties
impl Unpin for ImageFormatProperties
impl UnsafeUnpin for ImageFormatProperties
impl UnwindSafe for ImageFormatProperties
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