com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

fgv
com.mojang.blaze3d.vertex.VertexBuffer
net.minecraft.class_291
net.minecraft.client.gl.VertexBuffer

Field summary

Modifier and TypeField
private final BufferUsage
a
usage
field_44792
usage
private final GpuBuffer
b
vertexBuffer
field_1594
vertexBuffer
private GpuBuffer
c
indexBuffer
field_27366
indexBuffer
private int
d
arrayObjectId
field_29338
vertexArrayId
private VertexFormat
e
format
field_29339
vertexFormat
private RenderSystem$AutoStorageIndexBuffer
f
sequentialIndices
field_38983
sharedSequentialIndexBuffer
private VertexFormat$IndexType
g
indexType
field_27367
indexType
private int
h
indexCount
field_1593
indexCount
private VertexFormat$Mode
i
mode
field_27368
drawMode

Constructor summary

ModifierConstructor
public (BufferUsage usage)

Method summary

Modifier and TypeMethod
public void
a(fgr arg0)
upload(MeshData arg0)
method_1352(class_9801 arg0)
upload(BuiltBuffer data)
public void
a(fgp$a arg0)
uploadIndexBuffer(ByteBufferBuilder$Result arg0)
method_60829(class_9799$class_9800 arg0)
uploadIndexBuffer(BufferAllocator$CloseableBuffer buf)
private VertexFormat
a(fgr$a arg0, ByteBuffer arg1)
uploadVertexBuffer(MeshData$DrawState arg0, ByteBuffer arg1)
method_43442(class_9801$class_4574 arg0, ByteBuffer arg1)
uploadVertexBuffer(BuiltBuffer$DrawParameters parameters, ByteBuffer vertexBuffer)
private RenderSystem$AutoStorageIndexBuffer
b(fgr$a arg0, ByteBuffer arg1)
uploadIndexBuffer(MeshData$DrawState arg0, ByteBuffer arg1)
method_43443(class_9801$class_4574 arg0, ByteBuffer arg1)
uploadIndexBuffer(BuiltBuffer$DrawParameters parameters, ByteBuffer buf)
public void
a()
bind()
method_1353()
bind()
public static void
b()
unbind()
method_1354()
unbind()
public void
c()
draw()
method_35665()
draw()
private VertexFormat$IndexType
f()
getIndexType()
method_43445()
getIndexType()
public void
a(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, gku arg2)
drawWithShader(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, CompiledShaderProgram 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)
public void
close()
close()
public VertexFormat
d()
getFormat()
method_34435()
getVertexFormat()
public boolean
e()
isInvalid()
method_43444()
isClosed()