Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkRenderPassCreateInfo(3)

Name

VkRenderPassCreateInfo - Structure specifying parameters of a newly created render pass

C Specification

TheVkRenderPassCreateInfo structure is defined as:

This functionality is superseded byVulkan Version 1.2. SeeLegacy Functionality for more information.
// Provided by VK_VERSION_1_0typedef 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

  • sType is aVkStructureType value identifying this structure.

  • pNext isNULL or a pointer to a structure extending thisstructure.

  • flags is a bitmask ofVkRenderPassCreateFlagBits

  • attachmentCount is the number of attachments used by this renderpass.

  • pAttachments is a pointer to an array ofattachmentCountVkAttachmentDescription structures describing the attachments usedby the render pass.

  • subpassCount is the number of subpasses to create.

  • pSubpasses is a pointer to an array ofsubpassCountVkSubpassDescription structures describing each subpass.

  • dependencyCount is the number of memory dependencies between pairsof subpasses.

  • pDependencies is a pointer to an array ofdependencyCountVkSubpassDependency structures describing dependencies betweenpairs of subpasses.

Description

Care should be taken to avoid a data race here; if any subpasses accessattachments with overlapping memory locations, and one of those accesses isa write, a subpass dependency needs to be included between them.

Valid Usage
Valid Usage (Implicit)

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp