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
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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more