com.mojang.blaze3d.vertex

public class ByteBufferBuilder

implements AutoCloseable

fbf
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 org.slf4j.Logger
a
LOGGER
field_52078
LOGGER
f_337525_
private static final org.lwjgl.system.MemoryUtil$MemoryAllocator
b
ALLOCATOR
field_52079
allocator
f_337626_
private static final int
c
MAX_GROWTH_SIZE
field_52080
MIN_GROWTH
f_337594_
private static final int
d
BUFFER_FREED_GENERATION
field_52081
CLOSED
f_336759_
long
e
pointer
field_52082
pointer
f_337511_
private int
f
capacity
field_52083
size
f_336824_
private int
g
writeOffset
field_52084
offset
f_337065_
private int
h
nextResultOffset
field_52085
prevOffset
f_337195_
private int
i
resultCount
field_52086
refCount
f_337608_
private int
j
generation
field_52087
clearCount
f_337664_

Constructor summary

ModifierConstructor
public (int size)

Method summary

Modifier and TypeMethod
public long
a(int arg0)
reserve(int arg0)
method_60808(int arg0)
allocate(int size)
m_338881_(int arg0)
private void
b(int arg0)
ensureCapacity(int arg0)
method_60810(int arg0)
growIfNecessary(int targetSize)
m_339252_(int arg0)
private void
c(int arg0)
resize(int arg0)
method_60812(int arg0)
grow(int targetSize)
m_338423_(int 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
d(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_()