VkImageSubresource2KHR(3)

# VkImageSubresource2KHR(3) Manual Page

## Name

VkImageSubresource2KHR - Structure specifying an image subresource

Loading… please wait.

## C Specification

The `VkImageSubresource2KHR` structure is defined as:

    // Provided by VK_KHR_maintenance5
    typedef struct VkImageSubresource2KHR {
        VkStructureType       sType;
        void*                 pNext;
        VkImageSubresource    imageSubresource;
    } VkImageSubresource2KHR;

or the equivalent

    // Provided by VK_EXT_host_image_copy, VK_EXT_image_compression_control
    typedef VkImageSubresource2KHR VkImageSubresource2EXT;

## Members

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

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

- `imageSubresource` is a VkImageSubresource structure.

## Description

Valid Usage (Implicit)

- VUID-VkImageSubresource2KHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2_KHR`

- VUID-VkImageSubresource2KHR-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkImageSubresource2KHR-imageSubresource-parameter
  `imageSubresource` must be a valid VkImageSubresource structure

## See Also

VK_EXT_host_image_copy, VK_EXT_image_compression_control, VK_KHR_maintenance5, VkDeviceImageSubresourceInfoKHR, VkImageSubresource, VkStructureType, vkGetImageSubresourceLayout2EXT, vkGetImageSubresourceLayout2KHR

## 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0