#[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 Default for ImageCreateInfo
impl Default for ImageCreateInfo
impl Copy for ImageCreateInfo
Auto Trait Implementations§
impl Freeze for ImageCreateInfo
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
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
)