#[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: StructureTypep_next: *const c_voidflags: ImageCreateFlagsimage_type: ImageTypeformat: Formatextent: Extent3Dmip_levels: u32array_layers: u32samples: SampleCountFlagstiling: ImageTilingusage: ImageUsageFlagssharing_mode: SharingModequeue_family_index_count: u32p_queue_family_indices: *const u32initial_layout: ImageLayoutImplementations
sourceimpl ImageCreateInfo
impl ImageCreateInfo
pub fn builder<'a>() -> ImageCreateInfoBuilder<'a>
Trait Implementations
sourceimpl Clone for ImageCreateInfo
impl Clone for ImageCreateInfo
sourcefn clone(&self) -> ImageCreateInfo
fn clone(&self) -> ImageCreateInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ImageCreateInfo
impl Debug for ImageCreateInfo
sourceimpl Default for ImageCreateInfo
impl Default for ImageCreateInfo
sourcefn default() -> ImageCreateInfo
fn default() -> ImageCreateInfo
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more