Class VkPipelineLayoutCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, SETLAYOUTCOUNT, PSETLAYOUTS, PUSHCONSTANTRANGECOUNT, PPUSHCONSTANTRANGES

        The struct member offsets.
    • Constructor Detail

      • VkPipelineLayoutCreateInfo

        public VkPipelineLayoutCreateInfo​(java.nio.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • flags

        public int flags()
        reserved for future use.
      • setLayoutCount

        public int setLayoutCount()
        the number of descriptor sets included in the pipeline layout.
      • pSetLayouts

        @Nullable
        public java.nio.LongBuffer pSetLayouts()
        a pointer to an array of VkDescriptorSetLayout objects.
      • pushConstantRangeCount

        public int pushConstantRangeCount()
        the number of push constant ranges included in the pipeline layout.
      • pPushConstantRanges

        @Nullable
        public VkPushConstantRange.Buffer pPushConstantRanges()
        a pointer to an array of VkPushConstantRange structures defining a set of push constant ranges for use in a single pipeline layout. In addition to descriptor set layouts, a pipeline layout also describes how many push constants can be accessed by each stage of the pipeline.
        Note

        Push constants represent a high speed path to modify constant data in pipelines that is expected to outperform memory-backed resource updates.

      • malloc

        public static VkPipelineLayoutCreateInfo malloc()
        Returns a new VkPipelineLayoutCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkPipelineLayoutCreateInfo calloc()
        Returns a new VkPipelineLayoutCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkPipelineLayoutCreateInfo create()
        Returns a new VkPipelineLayoutCreateInfo instance allocated with BufferUtils.
      • create

        public static VkPipelineLayoutCreateInfo create​(long address)
        Returns a new VkPipelineLayoutCreateInfo instance for the specified memory address.
      • malloc

        public static VkPipelineLayoutCreateInfo malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkPipelineLayoutCreateInfo calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineLayoutCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkPipelineLayoutCreateInfo.Buffer calloc​(int capacity,
                                                               org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineLayoutCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nflags

        public static int nflags​(long struct)
        Unsafe version of flags().
      • nsetLayoutCount

        public static int nsetLayoutCount​(long struct)
        Unsafe version of setLayoutCount().
      • npSetLayouts

        @Nullable
        public static java.nio.LongBuffer npSetLayouts​(long struct)
        Unsafe version of pSetLayouts.
      • npushConstantRangeCount

        public static int npushConstantRangeCount​(long struct)
        Unsafe version of pushConstantRangeCount().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • nflags

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • nsetLayoutCount

        public static void nsetLayoutCount​(long struct,
                                           int value)
        Sets the specified value to the setLayoutCount field of the specified struct.
      • npSetLayouts

        public static void npSetLayouts​(long struct,
                                        @Nullable
                                        java.nio.LongBuffer value)
        Unsafe version of pSetLayouts.
      • npushConstantRangeCount

        public static void npushConstantRangeCount​(long struct,
                                                   int value)
        Sets the specified value to the pushConstantRangeCount field of the specified struct.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate