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 fnz
-
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 aLfnz;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 bLfnz;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 cLfnz;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 dLfnz;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 eLfnz;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 fLfnz;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 gLfnz;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 hLfnz;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 iLfnz;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 jLfnz;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 kLfnz;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 lLfnz;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 mLfnz;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>Lfnz;<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 aLfnz;a(I)Lfnz;
-
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 bLfnz;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 aLfnz;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 bLfnz;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 aLfnz;a()Lfnz$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 bLfnz;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 cLfnz;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 cLfnz;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 dLfnz;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 eLfnz;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 fLfnz;f()V
-