com.mojang.blaze3d.vertex

public class BufferBuilder

extends DefaultedVertexConsumer implements BufferVertexConsumer

All mapped superinterfaces:

VertexConsumer, BufferVertexConsumer

cyd
com.mojang.blaze3d.vertex.BufferBuilder
net.minecraft.class_287
net.minecraft.unmapped.C_nxnqmnng
net.minecraft.client.render.BufferBuilder
net.minecraft.client.renderer.BufferBuilder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_1557
f_iirxrekw
LOGGER
field_187316_a
private ByteBuffer
h
buffer
field_1555
f_xkduvski
buffer
field_179001_a
private final List<BufferBuilder$DrawState>
i
vertexCounts
field_20774
f_mewhdgpi
parameters
field_227821_i_
private int
j
lastRenderedCountIndex
field_20775
f_qyuccfqt
lastParameterIndex
field_227822_j_
private int
k
totalRenderedBytes
field_20776
f_izkjbhil
buildStart
field_227823_k_
private int
l
nextElementByte
field_20884
f_fevtuyep
elementOffset
field_227824_l_
private int
m
totalUploadedBytes
field_20777
f_bxxncawi
nextDrawStart
field_227825_m_
private int
n
vertices
field_1554
f_ltvrvvts
vertexCount
field_178997_d
private VertexFormatElement
o
currentElement
field_1558
f_qxmawqzf
currentElement
field_181677_f
private int
p
elementIndex
field_1553
f_djjufmoz
currentElementId
field_181678_g
private int
q
mode
field_1567
f_asuspqsp
drawMode
field_179006_k
private VertexFormat
r
format
field_1565
f_cfhrurco
format
field_179011_q
private boolean
s
fastFormat
field_21594
f_dfgpkdqh
field_227826_s_
private boolean
t
fullFormat
field_21595
f_fhtpopwx
field_227827_t_
private boolean
u
building
field_1556
f_wyaejrdq
building
field_179010_r

Constructor summary

ModifierConstructor
public (int initialCapacity)

Method summary

Modifier and TypeMethod
protected void
b()
ensureVertexCapacity()
method_22892()
m_ymgkmdgz()
grow()
func_227831_b_()
private void
c(int arg0)
ensureCapacity(int arg0)
method_1335(int arg0)
m_xzrbvqte(int arg0)
grow(int size)
func_181670_b(int arg0)
private static int
d(int arg0)
roundUp(int arg0)
method_16005(int arg0)
m_srxxjvcm(int arg0)
roundBufferSize(int amount)
func_216566_c(int arg0)
public void
b(float arg0, float arg1, float arg2)
sortQuads(float arg0, float arg1, float arg2)
method_1341(float arg0, float arg1, float arg2)
m_prjtbgkp(float arg0, float arg1, float arg2)
sortQuads(float cameraX, float cameraY, float cameraZ)
func_181674_a(float arg0, float arg1, float arg2)
private void
a(FloatBuffer arg0, int arg1)
limitToVertex(FloatBuffer arg0, int arg1)
method_22628(FloatBuffer arg0, int arg1)
m_wluoqube(FloatBuffer arg0, int arg1)
func_227829_a_(FloatBuffer arg0, int arg1)
public BufferBuilder$State
c()
getState()
method_1334()
m_ocbjzbwy()
popState()
func_181672_a()
private static float
a(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
getQuadDistanceFromPlayer(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
method_1319(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
m_vmovhchj(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
getDistanceSq(FloatBuffer buffer, float x, float y, float z, int arg4, int arg5)
func_181665_a(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
public void
a(cyd$b arg0)
restoreState(BufferBuilder$State arg0)
method_1324(class_287$class_288 arg0)
m_pcpqtoge(C_nxnqmnng$C_viciqogq arg0)
restoreState(BufferBuilder$State arg0)
func_178993_a(BufferBuilder$State arg0)
public void
a(int arg0, cym arg1)
begin(int arg0, VertexFormat arg1)
method_1328(int arg0, class_293 arg1)
m_xuazlftk(int arg0, C_rnldvdpe arg1)
begin(int drawMode, VertexFormat format)
func_181668_a(int arg0, VertexFormat arg1)
private void
a(cym arg0)
switchFormat(VertexFormat arg0)
method_23918(class_293 arg0)
m_yvtxqaxg(C_rnldvdpe arg0)
func_227828_a_(VertexFormat arg0)
public void
d()
end()
method_1326()
m_acxqcgfk()
end()
func_178977_d()
public void
a(int arg0, byte arg1)
putByte(int arg0, byte arg1)
method_22896(int arg0, byte arg1)
m_mknpzscm(int arg0, byte arg1)
putByte(int arg0, byte arg1)
func_225589_a_(int arg0, byte arg1)
public void
a(int arg0, short arg1)
putShort(int arg0, short arg1)
method_22898(int arg0, short arg1)
m_ogsbejon(int arg0, short arg1)
putShort(int arg0, short arg1)
func_225591_a_(int arg0, short arg1)
public void
a(int arg0, float arg1)
putFloat(int arg0, float arg1)
method_22897(int arg0, float arg1)
m_iqjovuow(int arg0, float arg1)
putFloat(int arg0, float arg1)
func_225590_a_(int arg0, float arg1)
public void
a()
endVertex()
method_1344()
m_rpbkzbgb()
next()
func_181675_d()
public void
e()
nextElement()
method_1325()
m_umllcrlk()
nextElement()
func_181667_k()
public VertexConsumer
a(int arg0, int arg1, int arg2, int arg3)
color(int arg0, int arg1, int arg2, int arg3)
method_1336(int arg0, int arg1, int arg2, int arg3)
m_llwlqyfq(int arg0, int arg1, int arg2, int arg3)
color(int arg0, int arg1, int arg2, int arg3)
func_225586_a_(int arg0, int arg1, int arg2, int arg3)
public void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
vertex(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
method_23919(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
m_ohbjpviw(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
vertex(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
func_225588_a_(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, int arg10, float arg11, float arg12, float arg13)
public com.mojang.datafixers.util.Pair<BufferBuilder$DrawState, ByteBuffer>
f()
popNextBuffer()
method_22632()
m_irleaziy()
popData()
func_227832_f_()
public void
g()
clear()
method_1343()
m_wiunipsh()
clear()
func_178965_a()
public void
h()
discard()
method_23477()
m_mnhlbdhh()
reset()
func_227833_h_()
public VertexFormatElement
i()
currentElement()
method_22900()
m_nxlbfakd()
getCurrentElement()
func_225592_i_()
public boolean
j()
building()
method_22893()
m_tsfjiqbz()
isBuilding()
func_227834_j_()