VkImageCreateFlags2CreateInfoKHR(3)

# VkImageCreateFlags2CreateInfoKHR(3) Manual Page

## 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)

- 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`

Structure Chaining

Extends the structures

  - VkFramebufferAttachmentImageInfo

  - VkImageCreateInfo

  - VkPhysicalDeviceImageFormatInfo2

  - VkVideoFormatPropertiesKHR

## See Also

VK_KHR_extended_flags, VkImageCreateFlags2KHR, VkStructureType

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

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0