VkRenderingAreaInfo(3)

# VkRenderingAreaInfo(3) Manual Page

## Name

VkRenderingAreaInfo - Structure describing rendering area granularity query info

Loading… please wait.

## C Specification

The `VkRenderingAreaInfo` structure is defined as:

    // Provided by VK_VERSION_1_4
    typedef struct VkRenderingAreaInfo {
        VkStructureType    sType;
        const void*        pNext;
        uint32_t           viewMask;
        uint32_t           colorAttachmentCount;
        const VkFormat*    pColorAttachmentFormats;
        VkFormat           depthAttachmentFormat;
        VkFormat           stencilAttachmentFormat;
    } VkRenderingAreaInfo;

or the equivalent

    // Provided by VK_KHR_maintenance5
    typedef VkRenderingAreaInfo VkRenderingAreaInfoKHR;

## Members

- `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.

## Description

Valid Usage (Implicit)

- VUID-VkRenderingAreaInfo-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_RENDERING_AREA_INFO`

- VUID-VkRenderingAreaInfo-pNext-pNext
  `pNext` must be `NULL`

## See Also

VK_KHR_maintenance5, VK_VERSION_1_4, VkFormat, VkStructureType, vkGetRenderingAreaGranularity, vkGetRenderingAreaGranularityKHR

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

SPDX-License-Identifier: CC-BY-4.0