#[repr(C)]pub struct VkImageCreateInfo {Show 15 fields
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkImageCreateFlags,
pub imageType: VkImageType,
pub format: VkFormat,
pub extent: VkExtent3D,
pub mipLevels: u32,
pub arrayLayers: u32,
pub samples: VkSampleCountFlagBits,
pub tiling: VkImageTiling,
pub usage: VkImageUsageFlags,
pub sharingMode: VkSharingMode,
pub queueFamilyIndexCount: u32,
pub pQueueFamilyIndices: *const u32,
pub initialLayout: VkImageLayout,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkImageCreateFlags§imageType: VkImageType§format: VkFormat§extent: VkExtent3D§mipLevels: u32§arrayLayers: u32§samples: VkSampleCountFlagBits§tiling: VkImageTiling§usage: VkImageUsageFlags§sharingMode: VkSharingMode§queueFamilyIndexCount: u32§pQueueFamilyIndices: *const u32§initialLayout: VkImageLayoutTrait Implementations§
Source§impl AsRef<VkImageCreateInfo> for ImageCreateInfo<'_>
impl AsRef<VkImageCreateInfo> for ImageCreateInfo<'_>
Source§fn as_ref(&self) -> &VkImageCreateInfo
fn as_ref(&self) -> &VkImageCreateInfo
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for VkImageCreateInfo
impl Clone for VkImageCreateInfo
Source§fn clone(&self) -> VkImageCreateInfo
fn clone(&self) -> VkImageCreateInfo
Returns a duplicate 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 VkImageCreateInfo
impl Debug for VkImageCreateInfo
Source§impl TypedVulkanStructure for VkImageCreateInfo
impl TypedVulkanStructure for VkImageCreateInfo
Source§const TYPE: VkStructureType = 14i32
const TYPE: VkStructureType = 14i32
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkImageCreateInfo
impl VulkanStructure for VkImageCreateInfo
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkImageCreateInfo
impl RefUnwindSafe for VkImageCreateInfo
impl !Send for VkImageCreateInfo
impl !Sync for VkImageCreateInfo
impl Unpin for VkImageCreateInfo
impl UnwindSafe for VkImageCreateInfo
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
Source§fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
Iterate pNext chain