Structures

VkImageCreateFlags2CreateInfoKHR

Extended image usage flags

The VkImageCreateFlags2CreateInfoKHR structure is defined as:

typedef struct VkImageCreateFlags2CreateInfoKHR {
    VkStructureType sType;
    void* pNext;
    VkImageCreateFlags2KHR flags;
} VkImageCreateFlags2CreateInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is 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