#[repr(C)]pub struct ImageSubresourceRange {
pub aspect_mask: ImageAspectFlags,
pub base_mip_level: u32,
pub level_count: u32,
pub base_array_layer: u32,
pub layer_count: u32,
}Expand description
Native structure VkImageSubresourceRange.
Fields§
§aspect_mask: ImageAspectFlagsNative field aspectMask.
base_mip_level: u32Native field baseMipLevel.
level_count: u32Native field levelCount.
base_array_layer: u32Native field baseArrayLayer.
layer_count: u32Native field layerCount.
Implementations§
Source§impl ImageSubresourceRange
impl ImageSubresourceRange
Sourcepub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
pub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
Set native field aspectMask without native effects.
Sourcepub fn set_base_mip_level(self, value: u32) -> Self
pub fn set_base_mip_level(self, value: u32) -> Self
Set native field baseMipLevel without native effects.
Sourcepub fn set_level_count(self, value: u32) -> Self
pub fn set_level_count(self, value: u32) -> Self
Set native field levelCount without native effects.
Sourcepub fn set_base_array_layer(self, value: u32) -> Self
pub fn set_base_array_layer(self, value: u32) -> Self
Set native field baseArrayLayer without native effects.
Sourcepub fn set_layer_count(self, value: u32) -> Self
pub fn set_layer_count(self, value: u32) -> Self
Set native field layerCount without native effects.
Trait Implementations§
Source§impl Clone for ImageSubresourceRange
impl Clone for ImageSubresourceRange
impl Copy for ImageSubresourceRange
Auto Trait Implementations§
impl Forget for ImageSubresourceRange
impl Freeze for ImageSubresourceRange
impl Move for ImageSubresourceRange
impl RefUnwindSafe for ImageSubresourceRange
impl Send for ImageSubresourceRange
impl Sync for ImageSubresourceRange
impl Unpin for ImageSubresourceRange
impl UnsafeUnpin for ImageSubresourceRange
impl UnwindSafe for ImageSubresourceRange
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