com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

dqo
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
vertextBufferId
field_1594
vertexBufferId
f_166859_
private int
b
indexBufferId
field_27366
indexBufferId
f_166860_
private VertexFormat$IndexType
c
indexType
field_27367
vertexFormat
f_166861_
private int
d
arrayObjectId
field_29338
vertexArrayId
f_166862_
private int
e
indexCount
field_1593
vertexCount
f_166863_
private VertexFormat$Mode
f
mode
field_27368
drawMode
f_166864_
private boolean
g
sequentialIndices
field_27369
usesTexture
f_166865_
private VertexFormat
h
format
field_29339
elementFormat
f_85917_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a()
bind()
method_1353()
bind()
m_85921_()
public void
a(dqg arg0)
upload(BufferBuilder arg0)
method_1352(class_287 arg0)
upload(BufferBuilder buffer)
m_85925_(C_3173_ arg0)
public CompletableFuture<Void>
b(dqg arg0)
uploadLater(BufferBuilder arg0)
method_22643(class_287 arg0)
submitUpload(BufferBuilder buffer)
m_85932_(C_3173_ arg0)
private void
c(dqg arg0)
upload_(BufferBuilder arg0)
method_22644(class_287 arg0)
uploadInternal(BufferBuilder buffer)
m_85935_(C_3173_ arg0)
private void
g()
bindVertexArray()
method_34437()
bindVertexArray()
m_166893_()
public static void
b()
unbindVertexArray()
method_34430()
unbindVertexArray()
m_166875_()
public void
c()
draw()
method_35665()
drawElements()
m_166882_()
public void
a(d arg0, d arg1, ent arg2)
drawWithShader(Matrix4f arg0, Matrix4f arg1, ShaderInstance arg2)
method_34427(class_1159 arg0, class_1159 arg1, class_5944 arg2)
setShader(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader)
m_166867_(C_802_ p_166869_, C_802_ p_166870_, C_141721_ arg2)
public void
b(d arg0, d arg1, ent arg2)
_drawWithShader(Matrix4f arg0, Matrix4f arg1, ShaderInstance arg2)
method_34431(class_1159 arg0, class_1159 arg1, class_5944 arg2)
innerSetShader(Matrix4f viewMatrix, Matrix4f projectionMatrix, Shader shader)
m_166876_(C_802_ p_166878_, C_802_ p_166879_, C_141721_ arg2)
public void
d()
drawChunkLayer()
method_34432()
drawVertices()
m_166887_()
public static void
e()
unbind()
method_1354()
unbind()
m_85931_()
public void
close()
close()
close()
public VertexFormat
f()
getFormat()
method_34435()
getElementFormat()
m_166892_()