Class GlAllocationUtils

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

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

    • ALLOCATOR

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

    • GlAllocationUtils

      public GlAllocationUtils()
  • Method Details

    • allocateByteBuffer

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

      public static ByteBuffer resizeByteBuffer(ByteBuffer source, int size)
      Mappings:
      Namespace Name Mixin selector
      named resizeByteBuffer Lnet/minecraft/client/util/GlAllocationUtils;resizeByteBuffer(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
      intermediary method_37465 Lnet/minecraft/class_311;method_37465(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
      official a Lezm;a(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
    • free

      public static void free(ByteBuffer buf)
      Mappings:
      Namespace Name Mixin selector
      named free Lnet/minecraft/client/util/GlAllocationUtils;free(Ljava/nio/ByteBuffer;)V
      intermediary method_54557 Lnet/minecraft/class_311;method_54557(Ljava/nio/ByteBuffer;)V
      official a Lezm;a(Ljava/nio/ByteBuffer;)V