Class VkRenderPassCreateInfo2

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

public class VkRenderPassCreateInfo2 extends org.lwjgl.system.Struct<VkRenderPassCreateInfo2> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created render pass.
Description

Parameters defined by this structure with the same name as those in VkRenderPassCreateInfo have the identical effect to those parameters; the child structures are variants of those used in VkRenderPassCreateInfo which add sType and pNext parameters, allowing them to be extended.

If the VkSubpassDescription2::viewMask member of any element of pSubpasses is not zero, multiview functionality is considered to be enabled for this render pass.

correlatedViewMaskCount and pCorrelatedViewMasks have the same effect as VkRenderPassMultiviewCreateInfo::correlationMaskCount and VkRenderPassMultiviewCreateInfo::pCorrelationMasks, respectively.

Valid Usage
Valid Usage (Implicit)
See Also

VkAttachmentDescription2, VkSubpassDependency2, VkSubpassDescription2, CreateRenderPass2, CreateRenderPass2KHR

Layout


 struct VkRenderPassCreateInfo2 {
     VkStructureType sType();
     void const * pNext();
     VkRenderPassCreateFlags flags();
     uint32_t attachmentCount();
     VkAttachmentDescription2 const * pAttachments();
     uint32_t subpassCount();
     VkSubpassDescription2 const * pSubpasses();
     uint32_t dependencyCount();
     VkSubpassDependency2 const * pDependencies();
     uint32_t correlatedViewMaskCount();
     uint32_t const * pCorrelatedViewMasks();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • ATTACHMENTCOUNT

      public static final int ATTACHMENTCOUNT
      The struct member offsets.
    • PATTACHMENTS

      public static final int PATTACHMENTS
      The struct member offsets.
    • SUBPASSCOUNT

      public static final int SUBPASSCOUNT
      The struct member offsets.
    • PSUBPASSES

      public static final int PSUBPASSES
      The struct member offsets.
    • DEPENDENCYCOUNT

      public static final int DEPENDENCYCOUNT
      The struct member offsets.
    • PDEPENDENCIES

      public static final int PDEPENDENCIES
      The struct member offsets.
    • CORRELATEDVIEWMASKCOUNT

      public static final int CORRELATEDVIEWMASKCOUNT
      The struct member offsets.
    • PCORRELATEDVIEWMASKS

      public static final int PCORRELATEDVIEWMASKS
      The struct member offsets.
  • Constructor Details

    • VkRenderPassCreateInfo2

      public VkRenderPassCreateInfo2(ByteBuffer container)
      Creates a VkRenderPassCreateInfo2 instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details