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/BufferAllocator
intermediary net/minecraft/class_9799
official fbf
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final MemoryUtil.MemoryAllocator
private int
private static final int
private static final Logger
private static final int
private int
(package private) long
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
allocate
(int size) void
clear()
(package private) boolean
clearCountEquals
(int clearCount) (package private) void
void
close()
private void
private void
private void
grow
(int targetSize) private void
growIfNecessary
(int targetSize) void
reset()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/util/BufferAllocator;LOGGER:Lorg/slf4j/Logger;
intermediary field_52078
Lnet/minecraft/class_9799;field_52078:Lorg/slf4j/Logger;
official a
Lfbf;a:Lorg/slf4j/Logger;
-
allocator
- Mappings:
Namespace Name Mixin selector named allocator
Lnet/minecraft/client/util/BufferAllocator;allocator:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
intermediary field_52079
Lnet/minecraft/class_9799;field_52079:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
official b
Lfbf;b:Lorg/lwjgl/system/MemoryUtil$MemoryAllocator;
-
MIN_GROWTH
private static final int MIN_GROWTH- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_GROWTH
Lnet/minecraft/client/util/BufferAllocator;MIN_GROWTH:I
intermediary field_52080
Lnet/minecraft/class_9799;field_52080:I
official c
Lfbf;c:I
-
CLOSED
private static final int CLOSED- See Also:
- Mappings:
Namespace Name Mixin selector named CLOSED
Lnet/minecraft/client/util/BufferAllocator;CLOSED:I
intermediary field_52081
Lnet/minecraft/class_9799;field_52081:I
official d
Lfbf;d:I
-
pointer
long pointer- Mappings:
Namespace Name Mixin selector named pointer
Lnet/minecraft/client/util/BufferAllocator;pointer:J
intermediary field_52082
Lnet/minecraft/class_9799;field_52082:J
official e
Lfbf;e:J
-
size
private int size- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/client/util/BufferAllocator;size:I
intermediary field_52083
Lnet/minecraft/class_9799;field_52083:I
official f
Lfbf;f:I
-
offset
private int offset- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/client/util/BufferAllocator;offset:I
intermediary field_52084
Lnet/minecraft/class_9799;field_52084:I
official g
Lfbf;g:I
-
prevOffset
private int prevOffset- Mappings:
Namespace Name Mixin selector named prevOffset
Lnet/minecraft/client/util/BufferAllocator;prevOffset:I
intermediary field_52085
Lnet/minecraft/class_9799;field_52085:I
official h
Lfbf;h:I
-
refCount
private int refCount- Mappings:
Namespace Name Mixin selector named refCount
Lnet/minecraft/client/util/BufferAllocator;refCount:I
intermediary field_52086
Lnet/minecraft/class_9799;field_52086:I
official i
Lfbf;i:I
-
clearCount
private int clearCount- Mappings:
Namespace Name Mixin selector named clearCount
Lnet/minecraft/client/util/BufferAllocator;clearCount:I
intermediary field_52087
Lnet/minecraft/class_9799;field_52087:I
official j
Lfbf;j:I
-
-
Constructor Details
-
BufferAllocator
public BufferAllocator(int size) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/util/BufferAllocator;<init>(I)V
intermediary <init>
Lnet/minecraft/class_9799;<init>(I)V
official <init>
Lfbf;<init>(I)V
-
-
Method Details
-
allocate
public long allocate(int size) - Mappings:
Namespace Name Mixin selector named allocate
Lnet/minecraft/client/util/BufferAllocator;allocate(I)J
intermediary method_60808
Lnet/minecraft/class_9799;method_60808(I)J
official a
Lfbf;a(I)J
-
growIfNecessary
private void growIfNecessary(int targetSize) - Mappings:
Namespace Name Mixin selector named growIfNecessary
Lnet/minecraft/client/util/BufferAllocator;growIfNecessary(I)V
intermediary method_60810
Lnet/minecraft/class_9799;method_60810(I)V
official b
Lfbf;b(I)V
-
grow
private void grow(int targetSize) - Mappings:
Namespace Name Mixin selector named grow
Lnet/minecraft/client/util/BufferAllocator;grow(I)V
intermediary method_60812
Lnet/minecraft/class_9799;method_60812(I)V
official c
Lfbf;c(I)V
-
getAllocated
- Mappings:
Namespace Name Mixin selector named getAllocated
Lnet/minecraft/client/util/BufferAllocator;getAllocated()Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;
intermediary method_60807
Lnet/minecraft/class_9799;method_60807()Lnet/minecraft/class_9799$class_9800;
official a
Lfbf;a()Lfbf$a;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/util/BufferAllocator;clear()V
intermediary method_60809
Lnet/minecraft/class_9799;method_60809()V
official b
Lfbf;b()V
-
reset
public void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/util/BufferAllocator;reset()V
intermediary method_60811
Lnet/minecraft/class_9799;method_60811()V
official c
Lfbf;c()V
-
clearCountEquals
boolean clearCountEquals(int clearCount) - Mappings:
Namespace Name Mixin selector named clearCountEquals
Lnet/minecraft/client/util/BufferAllocator;clearCountEquals(I)Z
intermediary method_60814
Lnet/minecraft/class_9799;method_60814(I)Z
official d
Lfbf;d(I)Z
-
clearIfUnreferenced
void clearIfUnreferenced()- Mappings:
Namespace Name Mixin selector named clearIfUnreferenced
Lnet/minecraft/client/util/BufferAllocator;clearIfUnreferenced()V
intermediary method_60813
Lnet/minecraft/class_9799;method_60813()V
official d
Lfbf;d()V
-
forceClear
private void forceClear()- Mappings:
Namespace Name Mixin selector named forceClear
Lnet/minecraft/client/util/BufferAllocator;forceClear()V
intermediary method_60815
Lnet/minecraft/class_9799;method_60815()V
official e
Lfbf;e()V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
ensureNotFreed
private void ensureNotFreed()- Mappings:
Namespace Name Mixin selector named ensureNotFreed
Lnet/minecraft/client/util/BufferAllocator;ensureNotFreed()V
intermediary method_60816
Lnet/minecraft/class_9799;method_60816()V
official f
Lfbf;f()V
-