Struct vulkan_rs::VkImageCreateInfo
[−]
[src]
#[repr(C)]pub struct VkImageCreateInfo { 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, }
Structure specifying the parameters of a newly created image object
Fields
sType: VkStructureType
the type of this structure
pNext: *const c_void
NULL
or a pointer to an extension-specific structure
flags: VkImageCreateFlags
a bitmask describing additional parameters of the image
imageType: VkImageType
VK_IMAGE_TYPE_2D
format: VkFormat
not a depth/stencil format
extent: VkExtent3D
a VkExtent3D
describing the number of data elements in each dimension of the base level
mipLevels: u32
1
arrayLayers: u32
1
samples: VkSampleCountFlagBits
VK_SAMPLE_COUNT_1_BIT
tiling: VkImageTiling
a VkImageTiling
specifying the tiling arrangement of the data elements in memory, as described below
usage: VkImageUsageFlags
a bitmask describing the intended usage of the image
the sharing mode of the image when it will be accessed by multiple queue families, and must: be one of the values described for VkSharingMode
in the <
queueFamilyIndexCount: u32
the number of entries in the pQueueFamilyIndices
array
pQueueFamilyIndices: *const u32
a list of queue families that will access this image (ignored if sharingMode
is not VK_SHARING_MODE_CONCURRENT)
initialLayout: VkImageLayout
Trait Implementations
impl Default for VkImageCreateInfo
[src]
fn default() -> VkImageCreateInfo
Returns the "default value" for a type. Read more