Structures

VkRenderingAreaInfoKHR

Structure describing rendering area granularity query info

The VkRenderingAreaInfoKHR structure is defined as:

typedef struct VkRenderingAreaInfoKHR {
    VkStructureType sType;
    const void* pNext;
    uint32_t viewMask;
    uint32_t colorAttachmentCount;
    const VkFormat* pColorAttachmentFormats;
    VkFormat depthAttachmentFormat;
    VkFormat stencilAttachmentFormat;
} VkRenderingAreaInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • viewMask is the viewMask used for rendering.
  • colorAttachmentCount is the number of entries in pColorAttachmentFormats
  • pColorAttachmentFormats is a pointer to an array of VkFormat values defining the format of color attachments used in the render pass instance.
  • depthAttachmentFormat is a VkFormat value defining the format of the depth attachment used in the render pass instance.
  • stencilAttachmentFormat is a VkFormat value defining the format of the stencil attachment used in the render pass instance.

Valid Usage (Implicit)

VUID-VkRenderingAreaInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_RENDERING_AREA_INFO_KHR