Class GlAllocationUtils

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

@Environment(CLIENT) public class GlAllocationUtils extends Object
Mappings:
Namespace Name
official dqv
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 Ldqv;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 Ldqv;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 Ldqv;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;