Class VkGeometryDataNV

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TRIANGLES, AABBS

        The struct member offsets.
    • Constructor Detail

      • VkGeometryDataNV

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

        public VkGeometryDataNV set​(VkGeometryDataNV src)
        Copies the specified struct data to this struct.
        Parameters:
        src - the source struct
        Returns:
        this struct
      • malloc

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

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

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

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

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

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

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

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

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

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

        public static VkGeometryDataNV.Buffer callocStack​(int capacity)
        Returns a new VkGeometryDataNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
        Parameters:
        capacity - the buffer capacity
      • mallocStack

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

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