com.mojang.blaze3d.vertex

public class BufferBuilder

cuw
com.mojang.blaze3d.vertex.BufferBuilder
net.minecraft.class_287
net.minecraft.client.render.BufferBuilder
net.minecraft.client.renderer.BufferBuilder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1557
LOGGER
field_187316_a
private ByteBuffer
b
buffer
field_1555
buffer
field_179001_a
private IntBuffer
c
intBuffer
field_1560
bufInt
field_178999_b
private ShortBuffer
d
shortBuffer
field_1561
bufShort
field_181676_c
private FloatBuffer
e
floatBuffer
field_1566
bufFloat
field_179000_c
private int
f
vertices
field_1554
vertexCount
field_178997_d
private VertexFormatElement
g
currentElement
field_1558
currentElement
field_181677_f
private int
h
elementIndex
field_1553
currentElementId
field_181678_g
private boolean
i
noColor
field_1559
colorDisabled
field_78939_q
private int
j
mode
field_1567
drawMode
field_179006_k
private double
k
xo
field_1564
offsetX
field_179004_l
private double
l
yo
field_1563
offsetY
field_179005_m
private double
m
zo
field_1562
offsetZ
field_179002_n
private VertexFormat
n
format
field_1565
format
field_179011_q
private boolean
o
building
field_1556
building
field_179010_r

Constructor summary

ModifierConstructor
public (int initialCapacity)

Method summary

Modifier and TypeMethod
private void
b(int arg0)
ensureCapacity(int arg0)
method_1335(int arg0)
grow(int size)
func_181670_b(int arg0)
private static int
c(int arg0)
roundUp(int arg0)
method_16005(int arg0)
roundBufferSize(int amount)
func_216566_c(int arg0)
public void
a(float arg0, float arg1, float arg2)
sortQuads(float arg0, float arg1, float arg2)
method_1341(float arg0, float arg1, float arg2)
sortQuads(float cameraX, float cameraY, float cameraZ)
func_181674_a(float arg0, float arg1, float arg2)
public BufferBuilder$State
a()
getState()
method_1334()
popState()
func_181672_a()
private int
j()
getBufferIndex()
method_1316()
getCurrentSize()
func_181664_j()
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)
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(cuw$a arg0)
restoreState(BufferBuilder$State arg0)
method_1324(class_287$class_288 arg0)
restoreState(BufferBuilder$State arg0)
func_178993_a(BufferBuilder$State arg0)
public void
b()
clear()
method_1343()
clear()
func_178965_a()
public void
a(int arg0, cvc arg1)
begin(int arg0, VertexFormat arg1)
method_1328(int arg0, class_293 arg1)
begin(int drawMode, VertexFormat format)
func_181668_a(int arg0, VertexFormat arg1)
public BufferBuilder
a(double arg0, double arg1)
uv(double arg0, double arg1)
method_1312(double arg0, double arg1)
texture(double u, double v)
func_187315_a(double arg0, double arg1)
public BufferBuilder
a(int arg0, int arg1)
uv2(int arg0, int arg1)
method_1313(int arg0, int arg1)
texture(int u, int v)
func_187314_a(int arg0, int arg1)
public void
a(int arg0, int arg1, int arg2, int arg3)
faceTex2(int arg0, int arg1, int arg2, int arg3)
method_1339(int arg0, int arg1, int arg2, int arg3)
brightness(int arg0, int arg1, int arg2, int arg3)
func_178962_a(int arg0, int arg1, int arg2, int arg3)
public void
a(double arg0, double arg1, double arg2)
postProcessFacePosition(double arg0, double arg1, double arg2)
method_1322(double arg0, double arg1, double arg2)
postPosition(double x, double y, double z)
func_178987_a(double arg0, double arg1, double arg2)
private int
d(int arg0)
getStartingColorIndex(int arg0)
method_1310(int arg0)
getColorIndex(int arg0)
func_78909_a(int arg0)
public void
a(float arg0, float arg1, float arg2, int arg3)
faceTint(float arg0, float arg1, float arg2, int arg3)
method_1317(float arg0, float arg1, float arg2, int arg3)
multiplyColor(float red, float green, float blue, int index)
func_178978_a(float arg0, float arg1, float arg2, int arg3)
private void
b(int arg0, int arg1)
fixupVertexColor(int arg0, int arg1)
method_1329(int arg0, int arg1)
setColor(int color, int index)
func_192836_a(int arg0, int arg1)
public void
b(float arg0, float arg1, float arg2, int arg3)
fixupVertexColor(float arg0, float arg1, float arg2, int arg3)
method_1314(float arg0, float arg1, float arg2, int arg3)
setColor(float red, float green, float blue, int index)
func_178994_b(float arg0, float arg1, float arg2, int arg3)
private static int
a(int arg0, int arg1, int arg2)
clamp(int arg0, int arg1, int arg2)
method_16006(int arg0, int arg1, int arg2)
clamp(int value, int min, int max)
func_216567_a(int arg0, int arg1, int arg2)
private void
c(int arg0, int arg1, int arg2, int arg3)
putColor(int arg0, int arg1, int arg2, int arg3)
method_1340(int arg0, int arg1, int arg2, int arg3)
setColor(int colorIndex, int red, int blue, int index)
func_178972_a(int arg0, int arg1, int arg2, int arg3)
public void
c()
noColor()
method_1327()
disableColor()
func_78914_f()
public BufferBuilder
a(float arg0, float arg1, float arg2, float arg3)
color(float arg0, float arg1, float arg2, float arg3)
method_1336(float arg0, float arg1, float arg2, float arg3)
color(float red, float green, float blue, float arg3)
func_181666_a(float arg0, float arg1, float arg2, float arg3)
public BufferBuilder
b(int arg0, int arg1, int arg2, int arg3)
color(int arg0, int arg1, int arg2, int arg3)
method_1323(int arg0, int arg1, int arg2, int arg3)
color(int red, int green, int blue, int arg3)
func_181669_b(int arg0, int arg1, int arg2, int arg3)
public void
a(int[] arg0)
putBulkData(int[] arg0)
method_1333(int[] arg0)
putVertexData(int[] arg0)
func_178981_a(int[] arg0)
public void
d()
endVertex()
method_1344()
next()
func_181675_d()
public BufferBuilder
b(double arg0, double arg1, double arg2)
vertex(double arg0, double arg1, double arg2)
method_1315(double arg0, double arg1, double arg2)
vertex(double x, double y, double z)
func_181662_b(double arg0, double arg1, double arg2)
public void
b(float arg0, float arg1, float arg2)
postNormal(float arg0, float arg1, float arg2)
method_1320(float arg0, float arg1, float arg2)
postNormal(float x, float y, float z)
func_178975_e(float arg0, float arg1, float arg2)
private void
k()
nextElement()
method_1325()
nextElement()
func_181667_k()
public BufferBuilder
c(float arg0, float arg1, float arg2)
normal(float arg0, float arg1, float arg2)
method_1318(float arg0, float arg1, float arg2)
normal(float x, float y, float z)
func_181663_c(float arg0, float arg1, float arg2)
public void
c(double arg0, double arg1, double arg2)
offset(double arg0, double arg1, double arg2)
method_1331(double arg0, double arg1, double arg2)
setOffset(double x, double y, double z)
func_178969_c(double arg0, double arg1, double arg2)
public void
e()
end()
method_1326()
end()
func_178977_d()
public ByteBuffer
f()
getBuffer()
method_1342()
getByteBuffer()
func_178966_f()
public VertexFormat
g()
getVertexFormat()
method_1311()
getVertexFormat()
func_178973_g()
public int
h()
getVertexCount()
method_1337()
getVertexCount()
func_178989_h()
public int
i()
getDrawMode()
method_1338()
getDrawMode()
func_178979_i()
public void
a(int arg0)
fixupQuadColor(int arg0)
method_1332(int arg0)
setQuadColor(int color)
func_178968_d(int arg0)
public void
d(float arg0, float arg1, float arg2)
fixupQuadColor(float arg0, float arg1, float arg2)
method_1330(float arg0, float arg1, float arg2)
setQuadColor(float red, float green, float blue)
func_178990_f(float arg0, float arg1, float arg2)