C Specification
The VkRenderPassCreateInfo structure is defined as:
| Warning | This functionality is deprecated by Vulkan Version 1.2. See Deprecated Functionality for more information. | 
// Provided by VK_VERSION_1_0
typedef struct VkRenderPassCreateInfo {
    VkStructureType                   sType;
    const void*                       pNext;
    VkRenderPassCreateFlags           flags;
    uint32_t                          attachmentCount;
    const VkAttachmentDescription*    pAttachments;
    uint32_t                          subpassCount;
    const VkSubpassDescription*       pSubpasses;
    uint32_t                          dependencyCount;
    const VkSubpassDependency*        pDependencies;
} VkRenderPassCreateInfo;Members
- 
sTypeis a VkStructureType value identifying this structure.
- 
pNextisNULLor a pointer to a structure extending this structure.
- 
flagsis a bitmask of VkRenderPassCreateFlagBits
- 
attachmentCountis the number of attachments used by this render pass.
- 
pAttachmentsis a pointer to an array ofattachmentCountVkAttachmentDescription structures describing the attachments used by the render pass.
- 
subpassCountis the number of subpasses to create.
- 
pSubpassesis a pointer to an array ofsubpassCountVkSubpassDescription structures describing each subpass.
- 
dependencyCountis the number of memory dependencies between pairs of subpasses.
- 
pDependenciesis a pointer to an array ofdependencyCountVkSubpassDependency structures describing dependencies between pairs of subpasses.
Description
| Note | Care should be taken to avoid a data race here; if any subpasses access attachments with overlapping memory locations, and one of those accesses is a write, a subpass dependency needs to be included between them. | 
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.