Class GLAllocation

java.lang.Object
net.minecraft.src.GLAllocation

public class GLAllocation extends Object
  • 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

      public static ByteBuffer createDirectByteBuffer(int par0)
      Creates and returns a direct byte buffer with the specified capacity. Applies native ordering to speed up access.
    • createDirectIntBuffer

      public static IntBuffer createDirectIntBuffer(int par0)
      Creates and returns a direct int buffer with the specified capacity. Applies native ordering to speed up access.
    • createDirectFloatBuffer

      public static FloatBuffer createDirectFloatBuffer(int par0)
      Creates and returns a direct float buffer with the specified capacity. Applies native ordering to speed up access.