Class VkRenderPassCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, ATTACHMENTCOUNT, PATTACHMENTS, SUBPASSCOUNT, PSUBPASSES, DEPENDENCYCOUNT, PDEPENDENCIES

        The struct member offsets.
    • Constructor Detail

      • VkRenderPassCreateInfo

        public VkRenderPassCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkRenderPassCreateInfo 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.
      • attachmentCount

        public int attachmentCount()
        Returns the value of the attachmentCount field.
      • subpassCount

        public int subpassCount()
        Returns the value of the subpassCount field.
      • dependencyCount

        public int dependencyCount()
        Returns the value of the dependencyCount field.
      • malloc

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

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

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

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

        @Nullable
        public static VkRenderPassCreateInfo createSafe​(long address)
        Like create, but returns null if address is NULL.
      • mallocStack

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

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

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

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

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

        public static VkRenderPassCreateInfo.Buffer callocStack​(int capacity,
                                                                org.lwjgl.system.MemoryStack stack)
        Returns a new VkRenderPassCreateInfo.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().
      • nattachmentCount

        public static int nattachmentCount​(long struct)
        Unsafe version of attachmentCount().
      • nsubpassCount

        public static int nsubpassCount​(long struct)
        Unsafe version of subpassCount().
      • ndependencyCount

        public static int ndependencyCount​(long struct)
        Unsafe version of dependencyCount().
      • 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.
      • nattachmentCount

        public static void nattachmentCount​(long struct,
                                            int value)
        Sets the specified value to the attachmentCount field of the specified struct.
      • nsubpassCount

        public static void nsubpassCount​(long struct,
                                         int value)
        Sets the specified value to the subpassCount field of the specified struct.
      • ndependencyCount

        public static void ndependencyCount​(long struct,
                                            int value)
        Sets the specified value to the dependencyCount 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