sType/pNext members. Additionally, the render pass begin/next/end commands have been augmented with new extensible structures for passing additional subpass information.
The VkRenderPassMultiviewCreateInfo and VkInputAttachmentAspectReference structures that extended the original VkRenderPassCreateInfo are not accepted into the new creation functions, and instead their parameters are folded into this extension as follows:
VkRenderPassMultiviewCreateInfo::pViewMasks are now specified in VkSubpassDescription2KHR::viewMask.VkRenderPassMultiviewCreateInfo::pViewOffsets are now specified in VkSubpassDependency2KHR::viewOffset.VkRenderPassMultiviewCreateInfo::correlationMaskCount and VkRenderPassMultiviewCreateInfo::pCorrelationMasks are directly specified in VkRenderPassCreateInfo2KHR.VkInputAttachmentAspectReference::aspectMask is now specified in the relevant input attachment reference in VkAttachmentReference2KHR::aspectMaskThe details of these mappings are explained fully in the new structures.
All functionality in this extension is included in core Vulkan 1.2, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_create_renderpass2VK_KHR_multiview and VK_KHR_maintenance2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_CREATE_RENDERPASS_2_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | nvkCmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, long pRenderPassBegin, long pSubpassBeginInfo)
Unsafe version of: |
| public static void | nvkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, long pSubpassEndInfo)
Unsafe version of: |
| public static void | nvkCmdNextSubpass2KHR(VkCommandBuffer commandBuffer, long pSubpassBeginInfo, long pSubpassEndInfo)
Unsafe version of: |
| public static int | nvkCreateRenderPass2KHR(VkDevice device, long pCreateInfo, long pAllocator, long pRenderPass)
Unsafe version of: |
| public static void | vkCmdBeginRenderPass2KHR(VkCommandBuffer
the command buffer in which to record the command. commandBuffer, VkRenderPassBeginInfo a pointer to a pRenderPassBegin, VkSubpassBeginInfo VkRenderPassBeginInfo structure specifying the render pass to begin an instance of, and the framebuffer the instance uses.a pointer to a pSubpassBeginInfo)VkSubpassBeginInfo structure containing information about the subpass which is about to begin rendering.See |
| public static void | vkCmdEndRenderPass2KHR(VkCommandBuffer
the command buffer in which to end the current render pass instance. commandBuffer, VkSubpassEndInfo a pointer to a pSubpassEndInfo)VkSubpassEndInfo structure containing information about how the last subpass will be ended.See |
| public static void | vkCmdNextSubpass2KHR(VkCommandBuffer
the command buffer in which to record the command. commandBuffer, VkSubpassBeginInfo a pointer to a pSubpassBeginInfo, VkSubpassEndInfo VkSubpassBeginInfo structure containing information about the subpass which is about to begin rendering.a pointer to a pSubpassEndInfo)VkSubpassEndInfo structure containing information about how the previous subpass will be ended.See |
| public static int | vkCreateRenderPass2KHR(VkDevice
the logical device that creates the render pass. device, VkRenderPassCreateInfo2 a pointer to a pCreateInfo, VkAllocationCallbacks VkRenderPassCreateInfo2 structure describing the parameters of the render pass.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pRenderPass)VkRenderPass handle in which the resulting render pass object is returned.See |
| public static int | vkCreateRenderPass2KHR(VkDevice device, VkRenderPassCreateInfo2 pCreateInfo, VkAllocationCallbacks pAllocator, long[] pRenderPass)
Array version of: |
| VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME The extension name. | |
| VK_KHR_CREATE_RENDERPASS_2_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_CREATE_RENDERPASS_2_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR Extends Enum values: | |
| KHRCreateRenderpass2 | back to summary |
|---|---|
| protected KHRCreateRenderpass2() | |
| nvkCmdBeginRenderPass2KHR | back to summary |
|---|---|
| public static void nvkCmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, long pRenderPassBegin, long pSubpassBeginInfo) Unsafe version of: | |
| nvkCmdEndRenderPass2KHR | back to summary |
|---|---|
| public static void nvkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, long pSubpassEndInfo) Unsafe version of: | |
| nvkCmdNextSubpass2KHR | back to summary |
|---|---|
| public static void nvkCmdNextSubpass2KHR(VkCommandBuffer commandBuffer, long pSubpassBeginInfo, long pSubpassEndInfo) Unsafe version of: | |
| nvkCreateRenderPass2KHR | back to summary |
|---|---|
| public static int nvkCreateRenderPass2KHR(VkDevice device, long pCreateInfo, long pAllocator, long pRenderPass) Unsafe version of: | |
| vkCmdBeginRenderPass2KHR | back to summary |
|---|---|
| public static void vkCmdBeginRenderPass2KHR(VkCommandBuffer commandBuffer, VkRenderPassBeginInfo pRenderPassBegin, VkSubpassBeginInfo pSubpassBeginInfo) See
| |
| vkCmdEndRenderPass2KHR | back to summary |
|---|---|
| public static void vkCmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, VkSubpassEndInfo pSubpassEndInfo) See
| |
| vkCmdNextSubpass2KHR | back to summary |
|---|---|
| public static void vkCmdNextSubpass2KHR(VkCommandBuffer commandBuffer, VkSubpassBeginInfo pSubpassBeginInfo, VkSubpassEndInfo pSubpassEndInfo) See
| |
| vkCreateRenderPass2KHR | back to summary |
|---|---|
| public static int vkCreateRenderPass2KHR(VkDevice device, VkRenderPassCreateInfo2 pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pRenderPass) See
| |
| vkCreateRenderPass2KHR | back to summary |
|---|---|
| public static int vkCreateRenderPass2KHR(VkDevice device, VkRenderPassCreateInfo2 pCreateInfo, VkAllocationCallbacks pAllocator, long[] pRenderPass) Array version of:
| |