com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

eat
com.mojang.blaze3d.vertex.VertexBuffer
net.minecraft.class_291
net.minecraft.client.gl.VertexBuffer
net.minecraft.src.C_3186_

Field summary

Modifier and TypeField
private int
a
vertexBufferId
field_1594
vertexBufferId
f_231217_
private int
b
indexBufferId
field_27366
indexBufferId
f_166860_
private int
c
arrayObjectId
field_29338
vertexArrayId
f_166862_
private VertexFormat
d
format
field_29339
vertexFormat
f_85917_
private RenderSystem$AutoStorageIndexBuffer
e
sequentialIndices
field_38983
indexBuffer
f_166865_
private VertexFormat$IndexType
f
indexType
field_27367
indexType
f_166861_
private int
g
indexCount
field_1593
vertexCount
f_166863_
private VertexFormat$Mode
h
mode
field_27368
drawMode
f_166864_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(eal$b arg0)
upload(BufferBuilder$RenderedBuffer arg0)
method_1352(class_287$class_7433 arg0)
upload(BufferBuilder$BuiltBuffer buffer)
m_231221_(C_3173_$C_213330_ arg0)
private VertexFormat
a(eal$a arg0, ByteBuffer arg1)
uploadVertexBuffer(BufferBuilder$DrawState arg0, ByteBuffer arg1)
method_43442(class_287$class_4574 arg0, ByteBuffer arg1)
configureVertexFormat(BufferBuilder$DrawArrayParameters parameters, ByteBuffer data)
m_231218_(C_3173_$C_3175_ p_231220_, ByteBuffer arg1)
private RenderSystem$AutoStorageIndexBuffer
b(eal$a arg0, ByteBuffer arg1)
uploadIndexBuffer(BufferBuilder$DrawState arg0, ByteBuffer arg1)
method_43443(class_287$class_4574 arg0, ByteBuffer arg1)
configureIndexBuffer(BufferBuilder$DrawArrayParameters parameters, ByteBuffer data)
m_231223_(C_3173_$C_3175_ p_231225_, ByteBuffer arg1)
public void
a()
bind()
method_1353()
bind()
m_85921_()
public static void
b()
unbind()
method_1354()
unbind()
m_85931_()
public void
c()
draw()
method_35665()
drawElements()
m_166882_()
private VertexFormat$IndexType
f()
getIndexType()
method_43445()
getIndexType()
m_231231_()
public void
a(d arg0, d arg1, fad arg2)
drawWithShader(Matrix4f arg0, Matrix4f arg1, ShaderInstance arg2)
method_34427(class_1159 arg0, class_1159 arg1, class_5944 arg2)
draw(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader)
m_166867_(C_802_ p_166869_, C_802_ p_166870_, C_141721_ arg2)
private void
b(d arg0, d arg1, fad arg2)
_drawWithShader(Matrix4f arg0, Matrix4f arg1, ShaderInstance arg2)
method_34431(class_1159 arg0, class_1159 arg1, class_5944 arg2)
drawInternal(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader)
m_166876_(C_802_ p_166878_, C_802_ p_166879_, C_141721_ arg2)
public void
close()
close()
close()
public VertexFormat
d()
getFormat()
method_34435()
getVertexFormat()
m_166892_()
public boolean
e()
isInvalid()
method_43444()
isClosed()
m_231230_()