VkSubpassBeginInfo(3)

# VkSubpassBeginInfo(3) Manual Page

## Name

VkSubpassBeginInfo - Structure specifying subpass begin info

Loading… please wait.

## C Specification

The `VkSubpassBeginInfo` structure is defined as:

    // Provided by VK_VERSION_1_2
    typedef struct VkSubpassBeginInfo {
        VkStructureType      sType;
        const void*          pNext;
        VkSubpassContents    contents;
    } VkSubpassBeginInfo;

or the equivalent

    // Provided by VK_KHR_create_renderpass2
    typedef VkSubpassBeginInfo VkSubpassBeginInfoKHR;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `contents` is a VkSubpassContents value specifying how the commands in the next subpass will be provided.

## Description

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO`

- `pNext` must be `NULL`

- `contents` must be a valid VkSubpassContents value

## See Also

VkStructureType, VkSubpassContents, vkCmdBeginRenderPass2, vkCmdBeginRenderPass2KHR, vkCmdNextSubpass2, vkCmdNextSubpass2KHR

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

SPDX-License-Identifier: CC-BY-4.0