Package net.minecraft.client.util
Class BufferAllocator
java.lang.Object
net.minecraft.client.util.BufferAllocator
- All Implemented Interfaces:
 AutoCloseable
- Mappings:
 Namespace Name named net/minecraft/client/util/BufferAllocatorintermediary net/minecraft/class_9799official foa
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final MemoryUtil.MemoryAllocatorprivate intprivate static final intprivate static final longprivate final longprivate longprivate static final Loggerprivate static final com.mojang.jtracy.MemoryPoolprivate static final intprivate long(package private) longprivate intprivate long - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionlongallocate(int size) voidclear()(package private) booleanclearCountEquals(int clearCount) (package private) voidvoidclose()private voidprivate voidprivate voidgrow(long long2) private voidgrowIfNecessary(long long2) static BufferAllocatormethod_72201(int int2) voidreset() 
- 
Field Details
- 
MEMORY_POOL
private static final com.mojang.jtracy.MemoryPool MEMORY_POOL- Mappings:
 Namespace Name Mixin selector named MEMORY_POOLLnet/minecraft/client/util/BufferAllocator;MEMORY_POOL:Lcom/mojang/jtracy/MemoryPool;intermediary field_54266Lnet/minecraft/class_9799;field_54266:Lcom/mojang/jtracy/MemoryPool;official aLfoa;a:Lcom/mojang/jtracy/MemoryPool;
 - 
LOGGER
- Mappings:
 Namespace Name Mixin selector named LOGGERLnet/minecraft/client/util/BufferAllocator;LOGGER:Lorg/slf4j/Logger;intermediary field_52078Lnet/minecraft/class_9799;field_52078:Lorg/slf4j/Logger;official bLfoa;b:Lorg/slf4j/Logger;
 - 
ALLOCATOR
- Mappings:
 Namespace Name Mixin selector named ALLOCATORLnet/minecraft/client/util/BufferAllocator;ALLOCATOR:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;intermediary field_52079Lnet/minecraft/class_9799;field_52079:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;official cLfoa;c:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
 - 
field_61052
private static final long field_61052- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_61052Lnet/minecraft/client/util/BufferAllocator;field_61052:Jintermediary field_61052Lnet/minecraft/class_9799;field_61052:Jofficial dLfoa;d:J
 - 
MIN_GROWTH
private static final int MIN_GROWTH- See Also:
 - Mappings:
 Namespace Name Mixin selector named MIN_GROWTHLnet/minecraft/client/util/BufferAllocator;MIN_GROWTH:Iintermediary field_52080Lnet/minecraft/class_9799;field_52080:Iofficial eLfoa;e:I
 - 
CLOSED
private static final int CLOSED- See Also:
 - Mappings:
 Namespace Name Mixin selector named CLOSEDLnet/minecraft/client/util/BufferAllocator;CLOSED:Iintermediary field_52081Lnet/minecraft/class_9799;field_52081:Iofficial fLfoa;f:I
 - 
pointer
long pointer- Mappings:
 Namespace Name Mixin selector named pointerLnet/minecraft/client/util/BufferAllocator;pointer:Jintermediary field_52082Lnet/minecraft/class_9799;field_52082:Jofficial gLfoa;g:J
 - 
size
private long size- Mappings:
 Namespace Name Mixin selector named sizeLnet/minecraft/client/util/BufferAllocator;size:Jintermediary field_52083Lnet/minecraft/class_9799;field_52083:Jofficial hLfoa;h:J
 - 
field_61053
private final long field_61053- Mappings:
 Namespace Name Mixin selector named field_61053Lnet/minecraft/client/util/BufferAllocator;field_61053:Jintermediary field_61053Lnet/minecraft/class_9799;field_61053:Jofficial iLfoa;i:J
 - 
offset
private long offset- Mappings:
 Namespace Name Mixin selector named offsetLnet/minecraft/client/util/BufferAllocator;offset:Jintermediary field_52084Lnet/minecraft/class_9799;field_52084:Jofficial jLfoa;j:J
 - 
lastOffset
private long lastOffset- Mappings:
 Namespace Name Mixin selector named lastOffsetLnet/minecraft/client/util/BufferAllocator;lastOffset:Jintermediary field_52085Lnet/minecraft/class_9799;field_52085:Jofficial kLfoa;k:J
 - 
refCount
private int refCount- Mappings:
 Namespace Name Mixin selector named refCountLnet/minecraft/client/util/BufferAllocator;refCount:Iintermediary field_52086Lnet/minecraft/class_9799;field_52086:Iofficial lLfoa;l:I
 - 
clearCount
private int clearCount- Mappings:
 Namespace Name Mixin selector named clearCountLnet/minecraft/client/util/BufferAllocator;clearCount:Iintermediary field_52087Lnet/minecraft/class_9799;field_52087:Iofficial mLfoa;m:I
 
 - 
 - 
Constructor Details
- 
BufferAllocator
public BufferAllocator(int int2, long long2)  - 
BufferAllocator
public BufferAllocator(int size) - Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/util/BufferAllocator;<init>(I)Vintermediary <init>Lnet/minecraft/class_9799;<init>(I)Vofficial <init>Lfoa;<init>(I)V
 
 - 
 - 
Method Details
- 
method_72201
- Mappings:
 Namespace Name Mixin selector named method_72201Lnet/minecraft/client/util/BufferAllocator;method_72201(I)Lnet/minecraft/client/util/BufferAllocator;intermediary method_72201Lnet/minecraft/class_9799;method_72201(I)Lnet/minecraft/class_9799;official aLfoa;a(I)Lfoa;
 - 
allocate
public long allocate(int size) - Mappings:
 Namespace Name Mixin selector named allocateLnet/minecraft/client/util/BufferAllocator;allocate(I)Jintermediary method_60808Lnet/minecraft/class_9799;method_60808(I)Jofficial bLfoa;b(I)J
 - 
growIfNecessary
private void growIfNecessary(long long2) - Mappings:
 Namespace Name Mixin selector named growIfNecessaryLnet/minecraft/client/util/BufferAllocator;growIfNecessary(J)Vintermediary method_60810Lnet/minecraft/class_9799;method_60810(J)Vofficial aLfoa;a(J)V
 - 
grow
private void grow(long long2) - Mappings:
 Namespace Name Mixin selector named growLnet/minecraft/client/util/BufferAllocator;grow(J)Vintermediary method_60812Lnet/minecraft/class_9799;method_60812(J)Vofficial bLfoa;b(J)V
 - 
getAllocated
- Mappings:
 Namespace Name Mixin selector named getAllocatedLnet/minecraft/client/util/BufferAllocator;getAllocated()Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;intermediary method_60807Lnet/minecraft/class_9799;method_60807()Lnet/minecraft/class_9799$class_9800;official aLfoa;a()Lfoa$a;
 - 
clear
public void clear()- Mappings:
 Namespace Name Mixin selector named clearLnet/minecraft/client/util/BufferAllocator;clear()Vintermediary method_60809Lnet/minecraft/class_9799;method_60809()Vofficial bLfoa;b()V
 - 
reset
public void reset()- Mappings:
 Namespace Name Mixin selector named resetLnet/minecraft/client/util/BufferAllocator;reset()Vintermediary method_60811Lnet/minecraft/class_9799;method_60811()Vofficial cLfoa;c()V
 - 
clearCountEquals
boolean clearCountEquals(int clearCount) - Mappings:
 Namespace Name Mixin selector named clearCountEqualsLnet/minecraft/client/util/BufferAllocator;clearCountEquals(I)Zintermediary method_60814Lnet/minecraft/class_9799;method_60814(I)Zofficial cLfoa;c(I)Z
 - 
clearIfUnreferenced
void clearIfUnreferenced()- Mappings:
 Namespace Name Mixin selector named clearIfUnreferencedLnet/minecraft/client/util/BufferAllocator;clearIfUnreferenced()Vintermediary method_60813Lnet/minecraft/class_9799;method_60813()Vofficial dLfoa;d()V
 - 
forceClear
private void forceClear()- Mappings:
 Namespace Name Mixin selector named forceClearLnet/minecraft/client/util/BufferAllocator;forceClear()Vintermediary method_60815Lnet/minecraft/class_9799;method_60815()Vofficial eLfoa;e()V
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable
 - 
ensureNotFreed
private void ensureNotFreed()- Mappings:
 Namespace Name Mixin selector named ensureNotFreedLnet/minecraft/client/util/BufferAllocator;ensureNotFreed()Vintermediary method_60816Lnet/minecraft/class_9799;method_60816()Vofficial fLfoa;f()V
 
 -