Structures

VkSubpassBeginInfo

Structure specifying subpass begin information

The VkSubpassBeginInfo structure is defined as:

typedef struct VkSubpassBeginInfo {
    VkStructureType sType;
    const void* pNext;
    VkSubpassContents contents;
} VkSubpassBeginInfo;

or the equivalent

typedef VkSubpassBeginInfo VkSubpassBeginInfoKHR;
  • sType is a VkStructureType value identifying 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.

Valid Usage

VUID-VkSubpassBeginInfo-contents-09382

If contents is VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR, then at least one of the following features must be enabled:

Valid Usage (Implicit)

VUID-VkSubpassBeginInfo-sType-sType

sType must be VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO