Class VkSubpassDescription2

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSubpassDescription2>
org.lwjgl.vulkan.VkSubpassDescription2
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkSubpassDescription2KHR

public class VkSubpassDescription2 extends org.lwjgl.system.Struct<VkSubpassDescription2> implements org.lwjgl.system.NativeResource
Structure specifying a subpass description.
Description

Parameters defined by this structure with the same name as those in VkSubpassDescription have the identical effect to those parameters.

viewMask has the same effect for the described subpass as VkRenderPassMultiviewCreateInfo::pViewMasks has on each corresponding subpass.

If a VkFragmentShadingRateAttachmentInfoKHR structure is included in the pNext chain, pFragmentShadingRateAttachment is not NULL, and its attachment member is not ATTACHMENT_UNUSED, the identified attachment defines a fragment shading rate attachment for that subpass.

Valid Usage
Valid Usage (Implicit)
See Also

VkAttachmentReference2, VkRenderPassCreateInfo2

Layout


 struct VkSubpassDescription2 {
     VkStructureType sType();
     void const * pNext();
     VkSubpassDescriptionFlags flags();
     VkPipelineBindPoint pipelineBindPoint();
     uint32_t viewMask();
     uint32_t inputAttachmentCount();
     VkAttachmentReference2 const * pInputAttachments();
     uint32_t colorAttachmentCount();
     VkAttachmentReference2 const * pColorAttachments();
     VkAttachmentReference2 const * pResolveAttachments();
     VkAttachmentReference2 const * pDepthStencilAttachment();
     uint32_t preserveAttachmentCount();
     uint32_t const * pPreserveAttachments();
 }