Package net.minecraft.src
Class GLAllocation
java.lang.Object
net.minecraft.src.GLAllocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffercreateDirectByteBuffer(int par0) Creates and returns a direct byte buffer with the specified capacity.static FloatBuffercreateDirectFloatBuffer(int par0) Creates and returns a direct float buffer with the specified capacity.static IntBuffercreateDirectIntBuffer(int par0) Creates and returns a direct int buffer with the specified capacity.static voiddeleteDisplayLists(int par0) static voidDeletes all textures and display lists.static voidstatic intgenerateDisplayLists(int par0) Generates the specified number of display lists and returns the first index.
-
Constructor Details
-
GLAllocation
public GLAllocation()
-
-
Method Details
-
generateDisplayLists
public static int generateDisplayLists(int par0) Generates the specified number of display lists and returns the first index. -
deleteDisplayLists
public static void deleteDisplayLists(int par0) -
func_98302_b
public static void func_98302_b() -
deleteTexturesAndDisplayLists
public static void deleteTexturesAndDisplayLists()Deletes all textures and display lists. Called when Minecraft is shutdown to free up resources. -
createDirectByteBuffer
Creates and returns a direct byte buffer with the specified capacity. Applies native ordering to speed up access. -
createDirectIntBuffer
Creates and returns a direct int buffer with the specified capacity. Applies native ordering to speed up access. -
createDirectFloatBuffer
Creates and returns a direct float buffer with the specified capacity. Applies native ordering to speed up access.
-