Interface VulkanLWJGLArrays.BufferAllocatorType<T extends org.lwjgl.system.Struct,​B extends org.lwjgl.system.StructBuffer<T,​B>>

  • Type Parameters:
    T - The type structures
    B - The type of output buffers
    Enclosing class:
    VulkanLWJGLArrays

    public static interface VulkanLWJGLArrays.BufferAllocatorType<T extends org.lwjgl.system.Struct,​B extends org.lwjgl.system.StructBuffer<T,​B>>
    The type of functions that can allocate buffers for structures of type T.
    • Method Detail

      • allocate

        B allocate​(org.lwjgl.system.MemoryStack stack,
                   int count)
        Allocate a buffer.
        Parameters:
        stack - The stack from which to allocate
        count - The number of elements
        Returns:
        An allocated buffer