net.minecraft.client.util

public class BufferAllocator

implements AutoCloseable

foa
com.mojang.blaze3d.vertex.ByteBufferBuilder
net.minecraft.class_9799
net.minecraft.client.util.BufferAllocator
net.minecraft.unmapped.C_wcwbedxs
com.mojang.blaze3d.vertex.Buffer
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_ctuqbvrh
f_348985_
private static final org.slf4j.Logger
b
LOGGER
field_52078
LOGGER
f_jfcefrpr
LOGGER
f_337525_
private static final org.lwjgl.system.MemoryUtil$MemoryAllocator
c
ALLOCATOR
field_52079
ALLOCATOR
f_ameekvnn
ALLOCATOR
f_337626_
private static final long
d
DEFAULT_MAX_CAPACITY
field_61052
field_61052
f_dxceyjzq
f_398957_
private static final int
e
MAX_GROWTH_SIZE
field_52080
MIN_GROWTH
f_ifecadnl
MAX_SIZE
f_337594_
private static final int
f
BUFFER_FREED_GENERATION
field_52081
CLOSED
f_lfyhxoyq
INVALID_VIEW
f_336759_
long
g
pointer
field_52082
pointer
f_wofqjpab
pointer
f_337511_
private long
h
capacity
field_52083
size
f_zbsubito
size
f_336824_
private final long
i
maxCapacity
field_61053
field_61053
f_xyefspsg
f_398999_
private long
j
writeOffset
field_52084
offset
f_ligwivzo
offset
f_337065_
private long
k
nextResultOffset
field_52085
lastOffset
f_isyvokhf
nextOffset
f_337195_
private int
l
resultCount
field_52086
refCount
f_xnsgrijc
views
f_337608_
private int
m
generation
field_52087
clearCount
f_iqyycehe
allocBatch
f_337664_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static BufferAllocator
a(int o)
exactlySized(int arg0)
method_72201(int arg0)
method_72201(int arg0)
m_ezshoqhe(int arg0)
m_404723_(int p_406345_)
public long
b(int arg0)
reserve(int arg0)
method_60808(int arg0)
allocate(int size)
m_ewtigikr(int arg0)
reserve(int size)
m_338881_(int arg0)
private void
a(long arg0)
ensureCapacity(long arg0)
method_60810(long arg0)
growIfNecessary(long arg0)
m_tocsjswo(long arg0)
grow(long b)
m_339252_(long arg0)
private void
b(long arg0)
resize(long arg0)
method_60812(long arg0)
grow(long arg0)
m_xmopypgy(long arg0)
resize(long arg0)
m_338423_(long arg0)
public BufferAllocator$CloseableBuffer
a()
build()
method_60807()
getAllocated()
m_gkikmidu()
getView()
m_339207_()
public void
b()
clear()
method_60809()
clear()
m_fkoojxjp()
clear()
m_340278_()
public void
c()
discard()
method_60811()
reset()
m_eidtpidd()
discard()
m_339056_()
boolean
c(int arg0)
isValid(int arg0)
method_60814(int arg0)
clearCountEquals(int clearCount)
m_comacwck(int arg0)
validView(int viewBatch)
m_338446_(int arg0)
void
d()
freeResult()
method_60813()
clearIfUnreferenced()
m_vsbktqze()
popView()
m_340122_()
private void
e()
discardResults()
method_60815()
forceClear()
m_sxxvcsej()
realloc()
m_339343_()
public void
close()
close()
close()
private void
f()
checkOpen()
method_60816()
ensureNotFreed()
m_jivwmgpw()
checkAllocated()
m_339060_()