C Specification

Information about the layout of the image subresource is returned in a VkSubresourceLayout2EXT structure:

// Provided by VK_EXT_image_compression_control
typedef struct VkSubresourceLayout2EXT {
    VkStructureType        sType;
    void*                  pNext;
    VkSubresourceLayout    subresourceLayout;
} VkSubresourceLayout2EXT;

Members

  • sType is the type of this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • subresourceLayout is a VkSubresourceLayout structure.

Description

Valid Usage (Implicit)
  • VUID-VkSubresourceLayout2EXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2_EXT

  • VUID-VkSubresourceLayout2EXT-pNext-pNext
    pNext must be NULL or a pointer to a valid instance of VkImageCompressionPropertiesEXT

  • VUID-VkSubresourceLayout2EXT-sType-unique
    The sType value of each struct in the pNext chain must be unique

See Also

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 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0