public class GLAllocation
extends java.lang.Object
Constructor and Description |
---|
GLAllocation() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
createDirectByteBuffer(int capacity)
Creates and returns a direct byte buffer with the specified capacity.
|
static java.nio.FloatBuffer |
createDirectFloatBuffer(int capacity)
Creates and returns a direct float buffer with the specified capacity.
|
static java.nio.IntBuffer |
createDirectIntBuffer(int capacity)
Creates and returns a direct int buffer with the specified capacity.
|
static void |
deleteDisplayLists(int list) |
static void |
deleteDisplayLists(int list,
int range) |
static int |
generateDisplayLists(int range)
Generates the specified number of display lists and returns the first index.
|
public static int generateDisplayLists(int range)
public static void deleteDisplayLists(int list, int range)
public static void deleteDisplayLists(int list)
public static java.nio.ByteBuffer createDirectByteBuffer(int capacity)
public static java.nio.IntBuffer createDirectIntBuffer(int capacity)
public static java.nio.FloatBuffer createDirectFloatBuffer(int capacity)