VkRenderPassAttachmentBeginInfoKHR(3)

# VkRenderPassAttachmentBeginInfoKHR(3) Manual Page

## Name

VkRenderPassAttachmentBeginInfoKHR - Structure specifying images to be used as framebuffer attachments

## C Specification

The `VkRenderPassAttachmentBeginInfoKHR` structure is defined as:

    typedef struct VkRenderPassAttachmentBeginInfoKHR {
        VkStructureType       sType;
        const void*           pNext;
        uint32_t              attachmentCount;
        const VkImageView*    pAttachments;
    } VkRenderPassAttachmentBeginInfoKHR;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to an extension-specific structure.

- `attachmentCount` is the number of attachments.

- `pAttachments` is a pointer to an array of `VkImageView` handles, each of which will be used as the corresponding attachment in the render pass instance.

## Description

Valid Usage

- Each element of `pAttachments` must only specify a single mip level

- Each element of `pAttachments` must have been created with the identity swizzle

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR`

- If `attachmentCount` is not `0`, `pAttachments` must be a valid pointer to an array of `attachmentCount` valid VkImageView handles

## See Also

VkImageView, VkStructureType

## 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 (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.