public class GLAllocation extends Object
Constructor and Description |
---|
GLAllocation() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
createDirectByteBuffer(int par0)
Creates and returns a direct byte buffer with the specified capacity.
|
static FloatBuffer |
createDirectFloatBuffer(int par0)
Creates and returns a direct float buffer with the specified capacity.
|
static IntBuffer |
createDirectIntBuffer(int par0)
Creates and returns a direct int buffer with the specified capacity.
|
static void |
deleteDisplayLists(int par0) |
static void |
deleteTexturesAndDisplayLists()
Deletes all textures and display lists.
|
static int |
generateDisplayLists(int par0)
Generates the specified number of display lists and returns the first index.
|
static void |
generateTextureNames(IntBuffer par0IntBuffer)
Generates texture names and stores them in the specified buffer.
|
public GLAllocation()
public static int generateDisplayLists(int par0)
public static void generateTextureNames(IntBuffer par0IntBuffer)
public static void deleteDisplayLists(int par0)
public static void deleteTexturesAndDisplayLists()
public static ByteBuffer createDirectByteBuffer(int par0)
public static IntBuffer createDirectIntBuffer(int par0)
public static FloatBuffer createDirectFloatBuffer(int par0)