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()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • flags

        public int flags()
        Returns the value of the flags field.
      • setLayoutCount

        public int setLayoutCount()
        Returns the value of the setLayoutCount field.
      • pSetLayouts

        @Nullable
        public java.nio.LongBuffer pSetLayouts()
        Returns a LongBuffer view of the data pointed to by the pSetLayouts field.
      • pushConstantRangeCount

        public int pushConstantRangeCount()
        Returns the value of the pushConstantRangeCount field.
      • pSetLayouts

        public VkPipelineLayoutCreateInfo pSetLayouts​(@Nullable
                                                      java.nio.LongBuffer value)
        Sets the address of the specified LongBuffer to the pSetLayouts field.
      • 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.
      • mallocStack

        public static VkPipelineLayoutCreateInfo mallocStack()
        Returns a new VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkPipelineLayoutCreateInfo callocStack()
        Returns a new VkPipelineLayoutCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

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

        public static VkPipelineLayoutCreateInfo callocStack​(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
      • callocStack

        public static VkPipelineLayoutCreateInfo.Buffer callocStack​(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
      • validate

        public static void validate​(long array,
                                    int count)
        Calls validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array