com.mojang.blaze3d.vertex

public class ByteBufferBuilder

implements AutoCloseable

fgp
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 int
d
MAX_GROWTH_SIZE
field_52080
MIN_GROWTH
private static final int
e
BUFFER_FREED_GENERATION
field_52081
CLOSED
long
f
pointer
field_52082
pointer
private int
g
capacity
field_52083
size
private int
h
writeOffset
field_52084
offset
private int
i
nextResultOffset
field_52085
prevOffset
private int
j
resultCount
field_52086
refCount
private int
k
generation
field_52087
clearCount

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)
private void
b(int arg0)
ensureCapacity(int arg0)
method_60810(int arg0)
growIfNecessary(int targetSize)
private void
c(int arg0)
resize(int arg0)
method_60812(int arg0)
grow(int targetSize)
public ByteBufferBuilder$Result
a()
build()
method_60807()
getAllocated()
public void
b()
clear()
method_60809()
clear()
public void
c()
discard()
method_60811()
reset()
boolean
d(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()