Struct ash::vk::ImageCreateInfo
source · #[repr(C)]pub struct ImageCreateInfo {Show 15 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ImageCreateFlags,
pub image_type: ImageType,
pub format: Format,
pub extent: Extent3D,
pub mip_levels: u32,
pub array_layers: u32,
pub samples: SampleCountFlags,
pub tiling: ImageTiling,
pub usage: ImageUsageFlags,
pub sharing_mode: SharingMode,
pub queue_family_index_count: u32,
pub p_queue_family_indices: *const u32,
pub initial_layout: ImageLayout,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: ImageCreateFlags
§image_type: ImageType
§format: Format
§extent: Extent3D
§mip_levels: u32
§array_layers: u32
§samples: SampleCountFlags
§tiling: ImageTiling
§usage: ImageUsageFlags
§sharing_mode: SharingMode
§queue_family_index_count: u32
§p_queue_family_indices: *const u32
§initial_layout: ImageLayout
Implementations§
source§impl ImageCreateInfo
impl ImageCreateInfo
pub fn builder<'a>() -> ImageCreateInfoBuilder<'a>
Trait Implementations§
source§impl Clone for ImageCreateInfo
impl Clone for ImageCreateInfo
source§fn clone(&self) -> ImageCreateInfo
fn clone(&self) -> ImageCreateInfo
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 Debug for ImageCreateInfo
impl Debug for ImageCreateInfo
source§impl Default for ImageCreateInfo
impl Default for ImageCreateInfo
source§impl TaggedStructure for ImageCreateInfo
impl TaggedStructure for ImageCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_CREATE_INFO
impl Copy for ImageCreateInfo
Auto Trait Implementations§
impl RefUnwindSafe for ImageCreateInfo
impl !Send for ImageCreateInfo
impl !Sync for ImageCreateInfo
impl Unpin for ImageCreateInfo
impl UnwindSafe for ImageCreateInfo
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