Class GlAllocationUtils

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

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

    • ALLOCATOR

      private static final MemoryUtil.MemoryAllocator ALLOCATOR
      Mappings:
      Namespace Name Mixin selector
      official a Leoz;a:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
      intermediary field_34054 Lnet/minecraft/class_311;field_34054:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
      named ALLOCATOR Lnet/minecraft/client/util/GlAllocationUtils;ALLOCATOR: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 Leoz;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;
    • resizeByteBuffer

      public static ByteBuffer resizeByteBuffer(ByteBuffer source, int size)
      Mappings:
      Namespace Name Mixin selector
      official a Leoz;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 resizeByteBuffer Lnet/minecraft/client/util/GlAllocationUtils;resizeByteBuffer(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
    • free

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