com.mojang.blaze3d.vertex

public class ByteBufferBuilder

implements AutoCloseable

fnz
com.mojang.blaze3d.vertex.ByteBufferBuilder
net.minecraft.class_9799
net.minecraft.client.util.BufferAllocator

Field summary

Modifier and TypeField
private static final com.mojang.jtracy.MemoryPool
a
MEMORY_POOL
field_54266
MEMORY_POOL
private static final org.slf4j.Logger
b
LOGGER
field_52078
LOGGER
private static final org.lwjgl.system.MemoryUtil$MemoryAllocator
c
ALLOCATOR
field_52079
ALLOCATOR
private static final long
d
DEFAULT_MAX_CAPACITY
field_61052
field_61052
private static final int
e
MAX_GROWTH_SIZE
field_52080
MIN_GROWTH
private static final int
f
BUFFER_FREED_GENERATION
field_52081
CLOSED
long
g
pointer
field_52082
pointer
private long
h
capacity
field_52083
size
private final long
i
maxCapacity
field_61053
field_61053
private long
j
writeOffset
field_52084
offset
private long
k
nextResultOffset
field_52085
lastOffset
private int
l
resultCount
field_52086
refCount
private int
m
generation
field_52087
clearCount

Constructor summary

ModifierConstructor
public (int arg0, long arg1)
public (int size)

Method summary

Modifier and TypeMethod
public static ByteBufferBuilder
a(int arg0)
exactlySized(int arg0)
method_72201(int arg0)
method_72201(int arg0)
public long
b(int arg0)
reserve(int arg0)
method_60808(int arg0)
allocate(int size)
private void
a(long arg0)
ensureCapacity(long arg0)
method_60810(long arg0)
growIfNecessary(long arg0)
private void
b(long arg0)
resize(long arg0)
method_60812(long arg0)
grow(long arg0)
public ByteBufferBuilder$Result
a()
build()
method_60807()
getAllocated()
public void
b()
clear()
method_60809()
clear()
public void
c()
discard()
method_60811()
reset()
boolean
c(int arg0)
isValid(int arg0)
method_60814(int arg0)
clearCountEquals(int clearCount)
void
d()
freeResult()
method_60813()
clearIfUnreferenced()
private void
e()
discardResults()
method_60815()
forceClear()
public void
close()
close()
private void
f()
checkOpen()
method_60816()
ensureNotFreed()