com.mojang.blaze3d.vertex

public class BufferBuilder

implements VertexConsumer

fgn
com.mojang.blaze3d.vertex.BufferBuilder
net.minecraft.class_287
net.minecraft.client.render.BufferBuilder

Field summary

Modifier and TypeField
private static final long
a
NOT_BUILDING
field_52068
field_52068
private static final long
b
UNKNOWN_ELEMENT
field_52069
field_52069
private static final boolean
c
IS_LITTLE_ENDIAN
field_52070
LITTLE_ENDIAN
private final ByteBufferBuilder
d
buffer
field_52071
allocator
private long
e
vertexPointer
field_52072
vertexPointer
private int
f
vertices
field_1554
vertexCount
private final VertexFormat
g
format
field_1565
format
private final VertexFormat$Mode
h
mode
field_52073
drawMode
private final boolean
i
fastFormat
field_21594
canSkipElementChecks
private final boolean
j
fullFormat
field_21595
hasOverlay
private final int
k
vertexSize
field_52074
vertexSizeByte
private final int
l
initialElementsToFill
field_52075
requiredMask
private final int[]
m
offsetsByElement
field_52076
offsetsByElementId
private int
n
elementsToFill
field_52077
currentMask
private boolean
o
building
field_1556
building

Constructor summary

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

Method summary

Modifier and TypeMethod
public MeshData
a()
build()
method_60794()
endNullable()
public MeshData
b()
buildOrThrow()
method_60800()
end()
private void
c()
ensureBuilding()
method_60802()
ensureBuilding()
private MeshData
d()
storeMesh()
method_60804()
build()
private long
e()
beginVertex()
method_60805()
beginVertex()
private long
a(fgy arg0)
beginElement(VertexFormatElement arg0)
method_60798(class_296 arg0)
beginElement(VertexFormatElement element)
private void
f()
endLastVertex()
method_60806()
endVertex()
private static void
a(long arg0, int arg1)
putRgba(long arg0, int arg1)
method_60797(long arg0, int arg1)
putColor(long pointer, int argb)
private static void
b(long arg0, int arg1)
putPackedUv(long arg0, int arg1)
method_60801(long arg0, int arg1)
putInt(long pointer, int i)
public VertexConsumer
a(float arg0, float arg1, float arg2)
addVertex(float arg0, float arg1, float arg2)
method_22912(float arg0, float arg1, float arg2)
vertex(float arg0, float arg1, 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)
color(int arg0, int arg1, int arg2, int arg3)
public VertexConsumer
a(int arg0)
setColor(int arg0)
method_39415(int arg0)
color(int arg0)
public VertexConsumer
a(float arg0, float arg1)
setUv(float arg0, float arg1)
method_22913(float arg0, float arg1)
texture(float arg0, float arg1)
public VertexConsumer
a(int arg0, int arg1)
setUv1(int arg0, int arg1)
method_60796(int arg0, int arg1)
overlay(int arg0, int arg1)
public VertexConsumer
b(int arg0)
setOverlay(int arg0)
method_22922(int arg0)
overlay(int arg0)
public VertexConsumer
b(int arg0, int arg1)
setUv2(int arg0, int arg1)
method_22921(int arg0, int arg1)
light(int arg0, int arg1)
public VertexConsumer
c(int arg0)
setLight(int arg0)
method_60803(int arg0)
light(int arg0)
private VertexConsumer
a(short arg0, short arg1, fgy arg2)
uvShort(short arg0, short arg1, VertexFormatElement arg2)
method_60799(short arg0, short arg1, class_296 arg2)
putUv(short u, short v, VertexFormatElement element)
public VertexConsumer
b(float arg0, float arg1, float arg2)
setNormal(float arg0, float arg1, float arg2)
method_22914(float arg0, float arg1, float arg2)
normal(float arg0, float arg1, float arg2)
private static byte
a(float arg0)
normalIntValue(float arg0)
method_60795(float arg0)
floatToByte(float f)
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)
vertex(float arg0, float arg1, float arg2, int arg3, float arg4, float arg5, int arg6, int arg7, float arg8, float arg9, float arg10)