com.mojang.blaze3d.vertex

public class BufferBuilder

implements VertexConsumer

ffq
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 long
a
NOT_BUILDING
field_52068
f_gyaaueqa
field_52068
NOT_BUILDING
f_337720_
private static final long
b
UNKNOWN_ELEMENT
field_52069
f_eobosjlb
field_52069
UNKNOWN_ELEMENT
f_337398_
private static final boolean
c
IS_LITTLE_ENDIAN
field_52070
f_qnmtwykl
LITTLE_ENDIAN
LITTLE_ENDIAN
f_337242_
private final ByteBufferBuilder
d
buffer
field_52071
f_xkduvski
allocator
buffer
f_85648_
private long
e
vertexPointer
field_52072
f_bddfwywi
vertexPointer
pointer
f_337311_
private int
f
vertices
field_1554
f_ltvrvvts
vertexCount
vertexCount
f_85654_
private final VertexFormat
g
format
field_1565
f_cfhrurco
format
format
f_85658_
private final VertexFormat$Mode
h
mode
field_52073
f_asuspqsp
drawMode
drawMode
f_85657_
private final boolean
i
fastFormat
field_21594
f_dfgpkdqh
canSkipElementChecks
textured
f_85659_
private final boolean
j
fullFormat
field_21595
f_fhtpopwx
hasOverlay
hasOverlay
f_85660_
private final int
k
vertexSize
field_52074
f_seyliexk
vertexSizeByte
stride
f_337268_
private final int
l
initialElementsToFill
field_52075
f_zptoheux
requiredMask
nonPositionMask
f_336837_
private final int[]
m
offsetsByElement
field_52076
f_xokepvuu
offsetsByElementId
attributeIndices
f_336980_
private int
n
elementsToFill
field_52077
f_uojbwxik
currentMask
remainingMask
f_337476_
private boolean
o
building
field_1556
f_wyaejrdq
building
building
f_85661_

Constructor summary

ModifierConstructor
public (ByteBufferBuilder allocator, VertexFormat$Mode drawMode, VertexFormat format)

Method summary

Modifier and TypeMethod
public MeshData
a()
build()
method_60794()
m_getnreuz()
endNullable()
end()
m_339970_()
public MeshData
b()
buildOrThrow()
method_60800()
m_nnuyibos()
end()
endOrThrow()
m_339905_()
private void
c()
ensureBuilding()
method_60802()
m_klggtpay()
ensureBuilding()
assertBuilding()
m_231176_()
private MeshData
d()
storeMesh()
method_60804()
m_tbeybmch()
build()
build()
m_339394_()
private long
e()
beginVertex()
method_60805()
m_drrnipkp()
beginVertex()
beginVertex()
m_340494_()
private long
a(fgb arg0)
beginElement(VertexFormatElement arg0)
method_60798(class_296 arg0)
m_bhrlaogi(C_gmhefnuu arg0)
beginElement(VertexFormatElement element)
markUsed(VertexFormatElement element)
m_339847_(C_3189_ arg0)
private void
f()
endLastVertex()
method_60806()
m_hdnzyayv()
endVertex()
endLastVertex()
m_339377_()
private static void
a(long arg0, int arg1)
putRgba(long arg0, int arg1)
method_60797(long arg0, int arg1)
m_oeankjiv(long arg0, int arg1)
putColor(long pointer, int argb)
putColor(long position, int color)
m_340259_(long p_344481_, int arg1)
private static void
b(long arg0, int arg1)
putPackedUv(long arg0, int arg1)
method_60801(long arg0, int arg1)
m_zrflpijc(long arg0, int arg1)
putInt(long pointer, int i)
putIntAsShort(long position, int i)
m_338383_(long p_344069_, int arg1)
public VertexConsumer
a(float arg0, float arg1, float arg2)
addVertex(float arg0, float arg1, float arg2)
method_22912(float arg0, float arg1, float arg2)
m_yvdedzif(float arg0, float arg1, float arg2)
vertex(float arg0, float arg1, float arg2)
xyz(float arg0, float arg1, float arg2)
m_167146_(float p_342902_, float p_344845_, float arg2)
public VertexConsumer
a(int arg0, int arg1, int arg2, int arg3)
setColor(int arg0, int arg1, int arg2, int arg3)
method_1336(int arg0, int arg1, int arg2, int arg3)
m_wnzjlyty(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_167129_(int p_343163_, int p_342676_, int p_345202_, int arg3)
public VertexConsumer
a(int arg0)
setColor(int arg0)
method_39415(int arg0)
m_ppknjxpl(int arg0)
color(int arg0)
color(int arg0)
m_338399_(int arg0)
public VertexConsumer
a(float arg0, float arg1)
setUv(float arg0, float arg1)
method_22913(float arg0, float arg1)
m_dtuhivbh(float arg0, float arg1)
texture(float arg0, float arg1)
uv0(float arg0, float arg1)
m_167083_(float p_343862_, float arg1)
public VertexConsumer
a(int arg0, int arg1)
setUv1(int arg0, int arg1)
method_60796(int arg0, int arg1)
m_dbgftfke(int arg0, int arg1)
overlay(int arg0, int arg1)
uv1(int arg0, int arg1)
m_338369_(int p_344474_, int arg1)
public VertexConsumer
b(int arg0)
setOverlay(int arg0)
method_22922(int arg0)
m_sjawvctb(int arg0)
overlay(int arg0)
uv1(int arg0)
m_338943_(int arg0)
public VertexConsumer
b(int arg0, int arg1)
setUv2(int arg0, int arg1)
method_22921(int arg0, int arg1)
m_xhzhhqoo(int arg0, int arg1)
light(int arg0, int arg1)
uv2(int arg0, int arg1)
m_338813_(int p_345129_, int arg1)
public VertexConsumer
c(int arg0)
setLight(int arg0)
method_60803(int arg0)
m_gvxlcabh(int arg0)
light(int arg0)
uv2(int arg0)
m_338973_(int arg0)
private VertexConsumer
a(short arg0, short arg1, fgb arg2)
uvShort(short arg0, short arg1, VertexFormatElement arg2)
method_60799(short arg0, short arg1, class_296 arg2)
m_hklmjhnl(short arg0, short arg1, C_gmhefnuu arg2)
putUv(short u, short v, VertexFormatElement element)
uv(short u, short v, VertexFormatElement element)
m_338494_(short p_345222_, short p_344482_, C_3189_ arg2)
public VertexConsumer
b(float arg0, float arg1, float arg2)
setNormal(float arg0, float arg1, float arg2)
method_22914(float arg0, float arg1, float arg2)
m_nlxhvdzj(float arg0, float arg1, float arg2)
normal(float arg0, float arg1, float arg2)
normal(float arg0, float arg1, float arg2)
m_338525_(float p_342276_, float p_342607_, float arg2)
private static byte
a(float arg0)
normalIntValue(float arg0)
method_60795(float arg0)
m_yedmtigm(float arg0)
floatToByte(float f)
clamp(float normal)
m_338914_(float p_344123_)
public void
a(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
addVertex(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
method_23919(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
m_dchtfeel(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
vertex(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
addVertex(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)
m_338367_(float p_344969_, float p_343237_, float p_342708_, int p_345023_, float p_344850_, float p_344316_, int p_342457_, int p_344002_, float p_344052_, float p_343783_, float arg10)