com.mojang.blaze3d.vertex

public class BufferBuilder

extends DefaultedVertexConsumer implements BufferVertexConsumer

All mapped superinterfaces:

VertexConsumer, BufferVertexConsumer

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

Field summary

Modifier and TypeField
private static final int
f
MAX_GROWTH_SIZE
field_46839
f_uxovrmet
ROUND_SIZE_CHANGE
f_303148_
private static final org.slf4j.Logger
g
LOGGER
field_1557
f_iirxrekw
LOGGER
LOGGER
f_85647_
private ByteBuffer
h
buffer
field_1555
f_xkduvski
buffer
buffer
f_85648_
private boolean
i
closed
field_46840
f_vkqyocdi
closed
f_303442_
private int
j
renderedBufferCount
field_39061
f_lyiiurbq
builtBufferCount
renderedBufferCount
f_231156_
private int
k
renderedBufferPointer
field_39062
f_leftmlzx
batchOffset
renderedBufferPointer
f_231157_
private int
l
nextElementByte
field_20884
f_fevtuyep
elementOffset
elementOffset
f_85652_
private int
m
vertices
field_1554
f_ltvrvvts
vertexCount
vertexCount
f_85654_
private VertexFormatElement
n
currentElement
field_1558
f_qxmawqzf
currentElement
currentElement
f_85655_
private int
o
elementIndex
field_1553
f_djjufmoz
currentElementId
elementIndex
f_85656_
private VertexFormat
p
format
field_1565
f_cfhrurco
format
format
f_85658_
private VertexFormat$Mode
q
mode
field_1567
f_asuspqsp
drawMode
drawMode
f_85657_
private boolean
r
fastFormat
field_21594
f_dfgpkdqh
canSkipElementChecks
textured
f_85659_
private boolean
s
fullFormat
field_21595
f_fhtpopwx
hasOverlay
hasOverlay
f_85660_
private boolean
t
building
field_1556
f_wyaejrdq
building
building
f_85661_
private org.joml.Vector3f[]
u
sortingPoints
field_27348
f_iukfzdwt
sortingPrimitiveCenters
sortingPoints
f_166766_
private VertexSorting
v
sorting
field_43358
f_pdtfdgmb
sorter
quadSorting
f_276463_
private boolean
w
indexOnly
field_27352
f_hbdpmeiy
hasNoVertexBuffer
indexOnly
f_166762_

Constructor summary

ModifierConstructor
public (int initialCapacity)

Method summary

Modifier and TypeMethod
private void
m()
ensureVertexCapacity()
method_22892()
m_ymgkmdgz()
grow()
grow()
m_85665_()
private void
d(int arg0)
ensureCapacity(int arg0)
method_1335(int arg0)
m_xzrbvqte(int arg0)
grow(int size)
grow(int size)
m_85722_(int arg0)
public void
a(eqj arg0)
setQuadSorting(VertexSorting arg0)
method_49904(class_8251 arg0)
m_oqtmtsug(C_onfzhami arg0)
setSorter(VertexSorter sorter)
setQuadSorting(VertexSorting sorting)
m_277127_(C_276405_ arg0)
public BufferBuilder$SortState
a()
getSortState()
method_1334()
m_vyrrpgbv()
getSortingData()
popState()
m_166770_()
private void
n()
checkOpen()
method_54559()
m_drwswxvq()
ensureNotClosed()
m_306046_()
public void
a(epw$c arg0)
restoreSortState(BufferBuilder$SortState arg0)
method_1324(class_287$class_5594 arg0)
m_ljhmvndi(C_nxnqmnng$C_pmijkrpz arg0)
beginSortedIndexBuffer(BufferBuilder$TransparentSortingData state)
restoreState(BufferBuilder$SortState state)
m_166775_(C_3173_$C_141546_ arg0)
public void
a(eqg$b arg0, eqg 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)
begin(VertexFormat$DrawMode drawMode, VertexFormat format)
m_166779_(C_3188_$C_141549_ p_166781_, C_3188_ arg1)
private void
a(eqg arg0)
switchFormat(VertexFormat arg0)
method_23918(class_293 arg0)
m_yvtxqaxg(C_rnldvdpe arg0)
setFormat(VertexFormat format)
setFormat(VertexFormat format)
m_85704_(C_3188_ arg0)
private it.unimi.dsi.fastutil.ints.IntConsumer
a(int arg0, eqg$a arg1)
intConsumer(int arg0, VertexFormat$IndexType arg1)
method_31949(int arg0, class_293$class_5595 arg1)
m_rmhuetro(int arg0, C_rnldvdpe$C_pmanqvls arg1)
getIndexConsumer(int offset, VertexFormat$IndexType indexType)
createConsumer(int i, VertexFormat$IndexType indexType)
m_231158_(int p_231160_, C_3188_$C_141548_ arg1)
private org.joml.Vector3f[]
o()
makeQuadSortingPoints()
method_31954()
m_ohwhccqe()
buildPrimitiveCenters()
createSortingPoints()
m_166794_()
private void
a(eqg$a arg0)
putSortedQuadIndices(VertexFormat$IndexType arg0)
method_31950(class_293$class_5595 arg0)
m_afabcjea(C_rnldvdpe$C_pmanqvls arg0)
writeSortedIndices(VertexFormat$IndexType indexType)
putSortedIndices(VertexFormat$IndexType indexType)
m_166786_(C_3188_$C_141548_ arg0)
public boolean
b()
isCurrentBatchEmpty()
method_43574()
m_ltxabftk()
isBatchEmpty()
isCurrentBatchEmpty()
m_231164_()
public BufferBuilder$RenderedBuffer
c()
endOrDiscardIfEmpty()
method_43575()
m_tygucxqs()
endNullable()
endOrDiscard()
m_231168_()
public BufferBuilder$RenderedBuffer
d()
end()
method_1326()
m_acxqcgfk()
end()
end()
m_231175_()
private void
p()
ensureDrawing()
method_43577()
m_xgtimktl()
ensureBuilding()
ensureDrawing()
m_231176_()
private BufferBuilder$RenderedBuffer
q()
storeRenderedBuffer()
method_43578()
m_qosobzjl()
build()
buildBatchParameters()
m_231177_()
private void
r()
reset()
method_43579()
m_mchwthuw()
resetBuilding()
reset()
m_231178_()
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)
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)
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)
putFloat(int arg0, float arg1)
m_5832_(int p_85690_, float arg1)
public void
e()
endVertex()
method_1344()
m_rpbkzbgb()
next()
next()
m_5752_()
public void
f()
nextElement()
method_1325()
m_umllcrlk()
nextElement()
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)
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)
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)
void
s()
releaseRenderedBuffer()
method_43580()
m_tsiboenc()
releaseBuiltBuffer()
popBatch()
m_231179_()
public void
g()
clear()
method_1343()
m_wiunipsh()
clear()
clear()
m_85729_()
public void
h()
discard()
method_23477()
m_mnhlbdhh()
reset()
discard()
m_85730_()
public void
i()
release()
method_54558()
m_csoxolxp()
close()
m_306688_()
public VertexFormatElement
j()
currentElement()
method_22900()
m_nxlbfakd()
getCurrentElement()
getCurrentElement()
m_6297_()
public boolean
k()
building()
method_22893()
m_tsfjiqbz()
isBuilding()
isBuilding()
m_85732_()
ByteBuffer
c(int arg0, int arg1)
bufferSlice(int arg0, int arg1)
method_43576(int arg0, int arg1)
m_lvzcyelp(int arg0, int arg1)
slice(int start, int end)
getBuffer(int start, int end)
m_231169_(int p_231171_, int arg1)