VkImageCreateFlags2CreateInfoKHR(3)

Name

VkImageCreateFlags2CreateInfoKHR - Extended image usage flags

C Specification

The VkImageCreateFlags2CreateInfoKHR structure is defined as:

// Provided by VK_KHR_extended_flags
typedef struct VkImageCreateFlags2CreateInfoKHR {
    VkStructureType           sType;
    void*                     pNext;
    VkImageCreateFlags2KHR    flags;
} VkImageCreateFlags2CreateInfoKHR;

Members

  • 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.

Description

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)

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.