com.mojang.blaze3d.vertex

public class BufferBuilder

extends DefaultedVertexConsumer implements BufferVertexConsumer

All mapped superinterfaces:

VertexConsumer, BufferVertexConsumer

dqg
com.mojang.blaze3d.vertex.BufferBuilder
net.minecraft.class_287
net.minecraft.unmapped.C_nxnqmnng
net.minecraft.client.render.BufferBuilder
net.minecraft.src.C_3173_

Field summary

Modifier and TypeField
private static final int
g
GROWTH_SIZE
field_32050
f_owtoyaja
MAX_BUFFER_SIZE
f_166763_
private static final org.apache.logging.log4j.Logger
h
LOGGER
field_1557
f_iirxrekw
LOGGER
f_85647_
private ByteBuffer
i
buffer
field_1555
f_xkduvski
buffer
f_85648_
private final List<BufferBuilder$DrawState>
j
drawStates
field_20774
f_zqmokxed
parameters
f_166764_
private int
k
lastPoppedStateIndex
field_20775
f_hvaetcwp
lastParameterIndex
f_166765_
private int
l
totalRenderedBytes
field_20776
f_izkjbhil
buildStart
f_85651_
private int
m
nextElementByte
field_20884
f_fevtuyep
elementOffset
f_85652_
private int
n
totalUploadedBytes
field_20777
f_bxxncawi
nextDrawStart
f_85653_
private int
o
vertices
field_1554
f_ltvrvvts
vertexCount
f_85654_
private VertexFormatElement
p
currentElement
field_1558
f_qxmawqzf
currentElement
f_85655_
private int
q
elementIndex
field_1553
f_djjufmoz
currentElementId
f_85656_
private VertexFormat
r
format
field_1565
f_cfhrurco
format
f_85658_
private VertexFormat$Mode
s
mode
field_1567
f_asuspqsp
drawMode
f_85657_
private boolean
t
fastFormat
field_21594
f_dfgpkdqh
textured
f_85659_
private boolean
u
fullFormat
field_21595
f_fhtpopwx
hasOverlay
f_85660_
private boolean
v
building
field_1556
f_wyaejrdq
building
f_85661_
private Vector3f[]
w
sortingPoints
field_27348
f_iukfzdwt
currentParameters
f_166766_
private float
x
sortX
field_27349
f_ibpzlmrc
cameraX
f_166767_
private float
y
sortY
field_27350
f_oqvmtoia
cameraY
f_166768_
private float
z
sortZ
field_27351
f_ohovwnfg
cameraZ
f_166769_
private boolean
A
indexOnly
field_27352
f_hbdpmeiy
cameraOffset
f_166762_

Constructor summary

ModifierConstructor
public (int initialCapacity)

Method summary

Modifier and TypeMethod
private void
k()
ensureVertexCapacity()
method_22892()
m_ymgkmdgz()
grow()
m_85665_()
private void
c(int arg0)
ensureCapacity(int arg0)
method_1335(int arg0)
m_xzrbvqte(int arg0)
grow(int size)
m_85722_(int arg0)
private static int
d(int arg0)
roundUp(int arg0)
method_16005(int arg0)
m_srxxjvcm(int arg0)
roundBufferSize(int amount)
m_85725_(int p_85726_)
public void
a(float arg0, float arg1, float arg2)
setQuadSortOrigin(float arg0, float arg1, float arg2)
method_31948(float arg0, float arg1, float arg2)
m_bxhlqbcc(float arg0, float arg1, float arg2)
setCameraPosition(float cameraX, float cameraY, float cameraZ)
m_166771_(float p_166773_, float p_166774_, float arg2)
public BufferBuilder$SortState
a()
getSortState()
method_1334()
m_vyrrpgbv()
popState()
m_166770_()
public void
a(dqg$b arg0)
restoreSortState(BufferBuilder$SortState arg0)
method_1324(class_287$class_5594 arg0)
m_ljhmvndi(C_nxnqmnng$C_pmijkrpz arg0)
restoreState(BufferBuilder$State state)
m_166775_(C_3173_$C_141546_ arg0)
public void
a(dqq$b arg0, dqq arg1)
begin(VertexFormat$Mode arg0, VertexFormat arg1)
method_1328(class_293$class_5596 arg0, class_293 arg1)
m_xuazlftk(C_rnldvdpe$C_ptsbsfse arg0, C_rnldvdpe arg1)
begin(VertexFormat$DrawMode drawMode, VertexFormat format)
m_166779_(C_3188_$C_141549_ p_166781_, C_3188_ arg1)
private void
a(dqq arg0)
switchFormat(VertexFormat arg0)
method_23918(class_293 arg0)
m_yvtxqaxg(C_rnldvdpe arg0)
setFormat(VertexFormat format)
m_85704_(C_3188_ arg0)
private it.unimi.dsi.fastutil.ints.IntConsumer
a(dqq$a arg0)
intConsumer(VertexFormat$IndexType arg0)
method_31949(class_293$class_5595 arg0)
m_rmhuetro(C_rnldvdpe$C_pmanqvls arg0)
createConsumer(VertexFormat$IntType elementFormat)
m_166777_(C_3188_$C_141548_ arg0)
private Vector3f[]
l()
makeQuadSortingPoints()
method_31954()
m_ohwhccqe()
buildParameterVector()
m_166794_()
private void
b(dqq$a arg0)
putSortedQuadIndices(VertexFormat$IndexType arg0)
method_31950(class_293$class_5595 arg0)
m_afabcjea(C_rnldvdpe$C_pmanqvls arg0)
writeCameraOffset(VertexFormat$IntType elementFormat)
m_166786_(C_3188_$C_141548_ arg0)
public void
b()
end()
method_1326()
m_acxqcgfk()
end()
m_85721_()
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)
m_5672_(int p_85687_, 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)
m_5586_(int p_85701_, 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)
m_5832_(int p_85690_, float arg1)
public void
c()
endVertex()
method_1344()
m_rpbkzbgb()
next()
m_5752_()
public void
d()
nextElement()
method_1325()
m_umllcrlk()
nextElement()
m_5751_()
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)
m_6122_(int p_85693_, int p_85694_, int p_85695_, 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)
m_5954_(float p_85672_, float p_85673_, float p_85674_, float p_85675_, float p_85676_, float p_85677_, float p_85678_, float p_85679_, float p_85680_, int p_85681_, int p_85682_, float p_85683_, float p_85684_, float arg13)
public com.mojang.datafixers.util.Pair<BufferBuilder$DrawState, ByteBuffer>
e()
popNextBuffer()
method_22632()
m_irleaziy()
popData()
m_85728_()
public void
f()
clear()
method_1343()
m_wiunipsh()
clear()
m_85729_()
public void
g()
discard()
method_23477()
m_mnhlbdhh()
reset()
m_85730_()
public VertexFormatElement
h()
currentElement()
method_22900()
m_nxlbfakd()
getCurrentElement()
m_6297_()
public boolean
i()
building()
method_22893()
m_tsfjiqbz()
isBuilding()
m_85732_()