com.mojang.blaze3d.vertex

public class ByteBufferBuilder

implements AutoCloseable

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

Field summary

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

Constructor summary

ModifierConstructor
public (int p_410447_, 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)
m_404723_(int p_406345_)
public long
b(int arg0)
reserve(int arg0)
method_60808(int arg0)
allocate(int size)
m_338881_(int arg0)
private void
a(long arg0)
ensureCapacity(long arg0)
method_60810(long arg0)
growIfNecessary(long arg0)
m_339252_(long arg0)
private void
b(long arg0)
resize(long arg0)
method_60812(long arg0)
grow(long arg0)
m_338423_(long arg0)
public ByteBufferBuilder$Result
a()
build()
method_60807()
getAllocated()
m_339207_()
public void
b()
clear()
method_60809()
clear()
m_340278_()
public void
c()
discard()
method_60811()
reset()
m_339056_()
boolean
c(int arg0)
isValid(int arg0)
method_60814(int arg0)
clearCountEquals(int clearCount)
m_338446_(int arg0)
void
d()
freeResult()
method_60813()
clearIfUnreferenced()
m_340122_()
private void
e()
discardResults()
method_60815()
forceClear()
m_339343_()
public void
close()
close()
close()
private void
f()
checkOpen()
method_60816()
ensureNotFreed()
m_339060_()