Class VkPipelineLayoutCreateInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineLayoutCreateInfo>
org.lwjgl.vulkan.VkPipelineLayoutCreateInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPipelineLayoutCreateInfo extends org.lwjgl.system.Struct<VkPipelineLayoutCreateInfo> implements org.lwjgl.system.NativeResource
Structure specifying the parameters of a newly created pipeline layout object.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO
  • flags must be a valid combination of VkPipelineLayoutCreateFlagBits values
  • If setLayoutCount is not 0, pSetLayouts must be a valid pointer to an array of setLayoutCount valid or NULL_HANDLE VkDescriptorSetLayout handles
  • If pushConstantRangeCount is not 0, pPushConstantRanges must be a valid pointer to an array of pushConstantRangeCount valid VkPushConstantRange structures
See Also

VkPushConstantRange, CreatePipelineLayout

Layout


 struct VkPipelineLayoutCreateInfo {
     VkStructureType sType();
     void const * pNext();
     VkPipelineLayoutCreateFlags flags();
     uint32_t setLayoutCount();
     VkDescriptorSetLayout const * pSetLayouts();
     uint32_t pushConstantRangeCount();
     VkPushConstantRange const * pPushConstantRanges();
 }
  • 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.
    • SETLAYOUTCOUNT

      public static final int SETLAYOUTCOUNT
      The struct member offsets.
    • PSETLAYOUTS

      public static final int PSETLAYOUTS
      The struct member offsets.
    • PUSHCONSTANTRANGECOUNT

      public static final int PUSHCONSTANTRANGECOUNT
      The struct member offsets.
    • PPUSHCONSTANTRANGES

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

    • VkPipelineLayoutCreateInfo

      public VkPipelineLayoutCreateInfo(ByteBuffer container)
      Creates a VkPipelineLayoutCreateInfo 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