# Interface VulkanLWJGLArrays.BufferAllocatorType<T extends org.lwjgl.system.Struct<T>, 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<T>, B extends org.lwjgl.system.StructBuffer<T,B>>
The type of functions that can allocate buffers for structures of type `T`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `B`
  `allocate(int count, org.lwjgl.system.MemoryStack stack)`
  Allocate a buffer.

- ## Method Details

  - ### allocate

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