Module com.io7m.jcoronado.lwjgl
Package com.io7m.jcoronado.lwjgl
Interface VulkanLWJGLArrays.BufferAllocatorType<T extends org.lwjgl.system.Struct,B extends org.lwjgl.system.StructBuffer<T,B>>
-
- Type Parameters:
T
- The type structuresB
- 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 typeT
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
allocate(org.lwjgl.system.MemoryStack stack, int count)
Allocate a buffer.
-
-
-
Method Detail
-
allocate
B allocate(org.lwjgl.system.MemoryStack stack, int count)
Allocate a buffer.- Parameters:
stack
- The stack from which to allocatecount
- The number of elements- Returns:
- An allocated buffer
-
-