VkImageCreateFlags2CreateInfoKHR
The VkImageCreateFlags2CreateInfoKHR structure is defined as:
typedef struct VkImageCreateFlags2CreateInfoKHR {
VkStructureType sType;
void* pNext;
VkImageCreateFlags2KHR flags;
} VkImageCreateFlags2CreateInfoKHR;
pub struct ImageCreateFlags2CreateInfoKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
flags: vk::ImageCreateFlags2KHR,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis a bitmask of VkImageCreateFlagBits2KHR specifying creation flags of the image.
If this structure is included in the pNext chain of an image creation
structure, flags is used instead of the corresponding flags
value passed in that creation structure, allowing additional create flags to
be specified.
If this structure is included in the pNext chain of a query structure
including VkImageCreateFlags, the create flags of the image are
returned in flags of this structure, allowing additional create flags
to be queried.
The flags representable in VkImageCreateFlags are still returned in
the query structure in this case.
Valid Usage (Implicit)
VUID-VkImageCreateFlags2CreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_IMAGE_CREATE_FLAGS_2_CREATE_INFO_KHR
VUID-VkImageCreateFlags2CreateInfoKHR-flags-parameter
flags must be a valid combination of VkImageCreateFlagBits2KHR values
VUID-VkImageCreateFlags2CreateInfoKHR-flags-requiredbitmask
flags must not be 0