VkImageViewUsage2CreateInfoKHR(3)

# VkImageViewUsage2CreateInfoKHR(3) Manual Page

## Name

VkImageViewUsage2CreateInfoKHR - Specify the intended usage of an image view

## C Specification

The set of usages for the created image view can be restricted compared to the parent image’s `usage` flags by adding a `VkImageViewUsage2CreateInfoKHR` structure to the `pNext` chain of VkImageViewCreateInfo.

The `VkImageViewUsage2CreateInfoKHR` structure is defined as:

    // Provided by VK_KHR_extended_flags
    typedef struct VkImageViewUsage2CreateInfoKHR {
        VkStructureType          sType;
        void*                    pNext;
        VkImageUsageFlags2KHR    usage;
    } VkImageViewUsage2CreateInfoKHR;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `usage` is a bitmask of VkImageUsageFlagBits2KHR specifying allowed usages of the image view.

## Description

When this structure is chained to VkImageViewCreateInfo the `usage` field overrides the implicit `usage` parameter inherited from image creation time and its value is used instead for the purposes of determining the valid usage conditions of VkImageViewCreateInfo.

Valid Usage (Implicit)

- VUID-VkImageViewUsage2CreateInfoKHR-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_2_CREATE_INFO_KHR

- VUID-VkImageViewUsage2CreateInfoKHR-usage-parameter
  `usage` must be a valid combination of VkImageUsageFlagBits2KHR values

- VUID-VkImageViewUsage2CreateInfoKHR-usage-requiredbitmask
  `usage` must not be `0`

Structure Chaining

Extends the structure

  - VkImageViewCreateInfo

## See Also

VK_KHR_extended_flags, VkImageUsageFlags2KHR, 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