Class GlAllocationUtils

java.lang.Object
net.minecraft.client.util.GlAllocationUtils

@Environment(CLIENT)
public class GlAllocationUtils
extends Object
Mappings:
Namespace Name
official dkv
intermediary net/minecraft/class_311
named net/minecraft/client/util/GlAllocationUtils
  • Constructor Details

    • GlAllocationUtils

      public GlAllocationUtils()
  • Method Details

    • allocateByteBuffer

      public static ByteBuffer allocateByteBuffer​(int size)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkv;a(I)Ljava/nio/ByteBuffer;
      intermediary method_1596 Lnet/minecraft/class_311;method_1596(I)Ljava/nio/ByteBuffer;
      named allocateByteBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateByteBuffer(I)Ljava/nio/ByteBuffer;
    • allocateFloatBuffer

      public static FloatBuffer allocateFloatBuffer​(int size)
      Mappings:
      Namespace Name Mixin selector
      official b Ldkv;b(I)Ljava/nio/FloatBuffer;
      intermediary method_1597 Lnet/minecraft/class_311;method_1597(I)Ljava/nio/FloatBuffer;
      named allocateFloatBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateFloatBuffer(I)Ljava/nio/FloatBuffer;