net.minecraft.client.render.vertex

public class BufferBuilder

ctq
net.minecraft.class_520
net.minecraft.client.render.vertex.BufferBuilder
net.minecraft.client.renderer.BufferBuilder
net.minecraft.client.renderer.BufferBuilder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
field_13461
LOGGER
field_187316_a
LOGGER
private ByteBuffer
b
field_10642
byteBuffer
field_179001_a
byteBuffer
private IntBuffer
c
field_10643
intBuffer
field_178999_b
rawIntBuffer
private ShortBuffer
d
field_10644
shortBuffer
field_181676_c
rawShortBuffer
private FloatBuffer
e
field_10645
floatBuffer
field_179000_c
rawFloatBuffer
private int
f
field_10646
vertexCount
field_178997_d
vertexCount
private VertexFormatElement
g
field_10647
currentElement
field_181677_f
vertexFormatElement
private int
h
field_10648
elementIndex
field_181678_g
vertexFormatIndex
private boolean
i
field_1795
uncolored
field_78939_q
noColor
private int
j
field_10649
drawMode
field_179006_k
drawMode
private double
k
field_10650
offsetX
field_179004_l
xOffset
private double
l
field_10651
offsetY
field_179005_m
yOffset
private double
m
field_10652
offsetZ
field_179002_n
zOffset
private VertexFormat
n
field_10653
format
field_179011_q
vertexFormat
private boolean
o
field_1776
building
field_179010_r
isDrawing

Constructor summary

ModifierConstructor
public (int size)

Method summary

Modifier and TypeMethod
private void
b(int arg0)
method_9745(int arg0)
grow(int amount)
func_181670_b(int arg0)
growBuffer(int increaseAmount)
public void
a(float arg0, float arg1, float arg2)
method_9730(float arg0, float arg1, float arg2)
sortQuads(float cameraX, float cameraY, float cameraZ)
func_181674_a(float arg0, float arg1, float arg2)
sortVertexData(float cameraX, float cameraY, float cameraZ)
public BufferBuilder$State
a()
method_9727()
getState()
func_181672_a()
getVertexState()
private int
j()
method_9757()
getBufferIndex()
func_181664_j()
getBufferSize()
private static float
a(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
method_9739(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
squaredDistance(FloatBuffer buffer, float x, float y, float z, int dy, int dx)
func_181665_a(FloatBuffer arg0, float arg1, float arg2, float arg3, int arg4, int arg5)
getDistanceSq(FloatBuffer floatBufferIn, float x, float y, float z, int integerSize, int offset)
public void
a(ctq$a arg0)
method_9738(class_520$class_2394 arg0)
setState(BufferBuilder$State state)
func_178993_a(BufferBuilder$State arg0)
setVertexState(BufferBuilder$State state)
public void
b()
method_9741()
clear()
func_178965_a()
reset()
public void
a(int arg0, ddw arg1)
method_9737(int arg0, class_2522 arg1)
begin(int drawMode, VertexFormat format)
func_181668_a(int arg0, VertexFormat arg1)
begin(int glMode, VertexFormat format)
public BufferBuilder
a(double arg0, double arg1)
method_9728(double arg0, double arg1)
texture(double u, double v)
func_187315_a(double arg0, double arg1)
tex(double u, double v)
public BufferBuilder
a(int arg0, int arg1)
method_9734(int arg0, int arg1)
texture(int u, int v)
func_187314_a(int arg0, int arg1)
lightmap(int skyLight, int blockLight)
public void
a(int arg0, int arg1, int arg2, int arg3)
method_9735(int arg0, int arg1, int arg2, int arg3)
lightColor(int r, int g, int b, int a)
func_178962_a(int arg0, int arg1, int arg2, int arg3)
putBrightness4(int vertex0, int vertex1, int vertex2, int vertex3)
public void
a(double arg0, double arg1, double arg2)
method_9729(double arg0, double arg1, double arg2)
postPosition(double x, double y, double z)
func_178987_a(double arg0, double arg1, double arg2)
putPosition(double x, double y, double z)
private int
c(int arg0)
method_1308(int arg0)
getColorIndex(int index)
func_78909_a(int arg0)
getColorIndex(int vertexIndex)
public void
a(float arg0, float arg1, float arg2, int arg3)
method_9732(float arg0, float arg1, float arg2, int arg3)
multiplyColor(float r, float g, float b, int index)
func_178978_a(float arg0, float arg1, float arg2, int arg3)
putColorMultiplier(float red, float green, float blue, int vertexIndex)
private void
b(int arg0, int arg1)
method_9746(int arg0, int arg1)
setColor(int rgb, int index)
func_192836_a(int arg0, int arg1)
putColor(int argb, int vertexIndex)
public void
b(float arg0, float arg1, float arg2, int arg3)
method_9744(float arg0, float arg1, float arg2, int arg3)
setColor(float r, float g, float b, int index)
func_178994_b(float arg0, float arg1, float arg2, int arg3)
putColorRGB_F(float red, float green, float blue, int vertexIndex)
private void
c(int arg0, int arg1, int arg2, int arg3)
method_9736(int arg0, int arg1, int arg2, int arg3)
setColor(int r, int g, int b, int a)
func_178972_a(int arg0, int arg1, int arg2, int arg3)
putColorRGBA(int index, int red, int green, int blue)
public void
c()
method_1316()
uncolored()
func_78914_f()
noColor()
public BufferBuilder
a(float arg0, float arg1, float arg2, float arg3)
method_9731(float arg0, float arg1, float arg2, float arg3)
color(float r, float g, float b, float a)
func_181666_a(float arg0, float arg1, float arg2, float arg3)
color(float red, float green, float blue, float alpha)
public BufferBuilder
b(int arg0, int arg1, int arg2, int arg3)
method_9747(int arg0, int arg1, int arg2, int arg3)
color(int r, int g, int b, int a)
func_181669_b(int arg0, int arg1, int arg2, int arg3)
color(int red, int green, int blue, int alpha)
public void
a(int[] arg0)
method_9740(int[] arg0)
vertices(int[] vertices)
func_178981_a(int[] arg0)
addVertexData(int[] vertexData)
public void
d()
method_9750()
nextVertex()
func_181675_d()
endVertex()
public BufferBuilder
b(double arg0, double arg1, double arg2)
method_9742(double arg0, double arg1, double arg2)
vertex(double x, double y, double z)
func_181662_b(double arg0, double arg1, double arg2)
pos(double x, double y, double z)
public void
b(float arg0, float arg1, float arg2)
method_9743(float arg0, float arg1, float arg2)
postNormal(float x, float y, float z)
func_178975_e(float arg0, float arg1, float arg2)
putNormal(float x, float y, float z)
private void
k()
method_9758()
nextElement()
func_181667_k()
nextVertexFormatIndex()
public BufferBuilder
c(float arg0, float arg1, float arg2)
method_9749(float arg0, float arg1, float arg2)
normal(float x, float y, float z)
func_181663_c(float arg0, float arg1, float arg2)
normal(float x, float y, float z)
public void
c(double arg0, double arg1, double arg2)
method_9748(double arg0, double arg1, double arg2)
offset(double offsetX, double offsetY, double offsetZ)
func_178969_c(double arg0, double arg1, double arg2)
setTranslation(double x, double y, double z)
public void
e()
method_9752()
end()
func_178977_d()
finishDrawing()
public ByteBuffer
f()
method_9753()
getBuffer()
func_178966_f()
getByteBuffer()
public VertexFormat
g()
method_9754()
getFormat()
func_178973_g()
getVertexFormat()
public int
h()
method_9755()
getVertexCount()
func_178989_h()
getVertexCount()
public int
i()
method_9756()
getDrawMode()
func_178979_i()
getDrawMode()
public void
a(int arg0)
method_9733(int arg0)
setQuadColor(int rgb)
func_178968_d(int arg0)
putColor4(int argb)
public void
d(float arg0, float arg1, float arg2)
method_9751(float arg0, float arg1, float arg2)
setQuadColor(float r, float g, float b)
func_178990_f(float arg0, float arg1, float arg2)
putColorRGB_F4(float red, float green, float blue)