# VkImageSubresource2(3) Manual Page

## Name

VkImageSubresource2 - Structure specifying an image subresource

Loading… please wait.

## C Specification

The `VkImageSubresource2` structure is defined as:

    // Provided by VK_VERSION_1_4
    typedef struct VkImageSubresource2 {
        VkStructureType       sType;
        void*                 pNext;
        VkImageSubresource    imageSubresource;
    } VkImageSubresource2;

or the equivalent

    // Provided by VK_KHR_maintenance5
    typedef VkImageSubresource2 VkImageSubresource2KHR;

or the equivalent

    // Provided by VK_EXT_host_image_copy, VK_EXT_image_compression_control
    typedef VkImageSubresource2 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-VkImageSubresource2-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2`

- VUID-VkImageSubresource2-pNext-pNext
  `pNext` must be `NULL`

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

## See Also

VK_EXT_host_image_copy, VK_EXT_image_compression_control, VK_KHR_maintenance5, VK_VERSION_1_4, VkDeviceImageSubresourceInfo, VkImageSubresource, VkStructureType, vkGetImageSubresourceLayout2, 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