com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

fad
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 final VertexBuffer$Usage
a
usage
field_44792
usage
f_285574_
private int
b
vertexBufferId
field_1594
vertexBufferId
f_231217_
private int
c
indexBufferId
field_27366
indexBufferId
f_166860_
private int
d
arrayObjectId
field_29338
vertexArrayId
f_166862_
private VertexFormat
e
format
field_29339
vertexFormat
f_85917_
private RenderSystem$AutoStorageIndexBuffer
f
sequentialIndices
field_38983
sharedSequentialIndexBuffer
f_166865_
private VertexFormat$IndexType
g
indexType
field_27367
indexType
f_166861_
private int
h
indexCount
field_1593
indexCount
f_166863_
private VertexFormat$Mode
i
mode
field_27368
drawMode
f_166864_

Constructor summary

ModifierConstructor
public (VertexBuffer$Usage usage)

Method summary

Modifier and TypeMethod
public void
a(ezv$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(ezv$a arg0, ByteBuffer arg1)
uploadVertexBuffer(BufferBuilder$DrawState arg0, ByteBuffer arg1)
method_43442(class_287$class_4574 arg0, ByteBuffer arg1)
uploadVertexBuffer(BufferBuilder$DrawParameters parameters, ByteBuffer vertexBuffer)
m_231218_(C_3173_$C_3175_ p_231220_, ByteBuffer arg1)
private RenderSystem$AutoStorageIndexBuffer
b(ezv$a arg0, ByteBuffer arg1)
uploadIndexBuffer(BufferBuilder$DrawState arg0, ByteBuffer arg1)
method_43443(class_287$class_4574 arg0, ByteBuffer arg1)
uploadIndexBuffer(BufferBuilder$DrawParameters parameters, ByteBuffer indexBuffer)
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()
draw()
m_166882_()
private VertexFormat$IndexType
f()
getIndexType()
method_43445()
getIndexType()
m_231231_()
public void
a(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, gee arg2)
drawWithShader(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, ShaderInstance arg2)
method_34427(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, class_5944 arg2)
draw(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram program)
m_253207_(org.joml.Matrix4f p_254555_, org.joml.Matrix4f p_253993_, C_141721_ arg2)
private void
b(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, gee arg2)
_drawWithShader(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, ShaderInstance arg2)
method_34431(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, class_5944 arg2)
drawInternal(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram program)
m_166876_(org.joml.Matrix4f p_253737_, org.joml.Matrix4f 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_()