Class GlAllocationUtils

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

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

    • field_34054

      private static final MemoryUtil.MemoryAllocator field_34054
      Mappings:
      Namespace Name Mixin selector
      official a Ldpj;a:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
      intermediary field_34054 Lnet/minecraft/class_311;field_34054:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
      named field_34054 Lnet/minecraft/client/util/GlAllocationUtils;field_34054:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
  • Constructor Details

    • GlAllocationUtils

      public GlAllocationUtils()
  • Method Details

    • allocateByteBuffer

      public static ByteBuffer allocateByteBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpj;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;
    • method_37465

      public static ByteBuffer method_37465(ByteBuffer byteBuffer, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpj;a(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
      intermediary method_37465 Lnet/minecraft/class_311;method_37465(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
      named method_37465 Lnet/minecraft/client/util/GlAllocationUtils;method_37465(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;