com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

fgu
com.mojang.blaze3d.vertex.VertexBuffer
net.minecraft.class_291
net.minecraft.unmapped.C_lhjdxjis
net.minecraft.client.gl.VertexBuffer
com.mojang.blaze3d.vertex.VertexBuffer
net.minecraft.src.C_3186_

Field summary

Modifier and TypeField
private final BufferUsage
a
usage
field_44792
f_uadabkas
usage
usage
f_285574_
private final GpuBuffer
b
vertexBuffer
field_1594
f_gorfexxi
vertexBuffer
f_349165_
private GpuBuffer
c
indexBuffer
field_27366
f_ztokcipd
indexBuffer
f_349210_
private int
d
arrayObjectId
field_29338
f_ezlwzggi
vertexArrayId
vertexArrayId
f_166862_
private VertexFormat
e
format
field_29339
f_umyhrgjx
vertexFormat
vertexFormat
f_85917_
private RenderSystem$AutoStorageIndexBuffer
f
sequentialIndices
field_38983
f_jltqvxde
sharedSequentialIndexBuffer
indexBuffer
f_166865_
private VertexFormat$IndexType
g
indexType
field_27367
f_fbdocwtm
indexType
indexType
f_166861_
private int
h
indexCount
field_1593
f_dtteyvvu
indexCount
indexCount
f_166863_
private VertexFormat$Mode
i
mode
field_27368
f_vwyxekyg
drawMode
drawMode
f_166864_

Constructor summary

ModifierConstructor
public (BufferUsage usage)

Method summary

Modifier and TypeMethod
public void
a(fgq arg0)
upload(MeshData arg0)
method_1352(class_9801 arg0)
m_vazvcsbq(C_fpcijbbg arg0)
upload(BuiltBuffer data)
upload(BuiltBuffer buffer)
m_231221_(C_336471_ arg0)
public void
a(fgo$a arg0)
uploadIndexBuffer(ByteBufferBuilder$Result arg0)
method_60829(class_9799$class_9800 arg0)
m_ldddkcyb(C_wcwbedxs$C_thqtmwcx arg0)
uploadIndexBuffer(BufferAllocator$CloseableBuffer buf)
uploadView(Buffer$View view)
m_338802_(C_336589_$C_336543_ arg0)
private VertexFormat
a(fgq$a arg0, ByteBuffer arg1)
uploadVertexBuffer(MeshData$DrawState arg0, ByteBuffer arg1)
method_43442(class_9801$class_4574 arg0, ByteBuffer arg1)
m_scxwshbc(C_fpcijbbg$C_nrbitmxm arg0, ByteBuffer arg1)
uploadVertexBuffer(BuiltBuffer$DrawParameters parameters, ByteBuffer vertexBuffer)
uploadAndBindFormat(BuiltBuffer$DrawParameters parameters, ByteBuffer bytes)
m_231218_(C_336471_$C_336447_ p_231220_, ByteBuffer arg1)
private RenderSystem$AutoStorageIndexBuffer
b(fgq$a arg0, ByteBuffer arg1)
uploadIndexBuffer(MeshData$DrawState arg0, ByteBuffer arg1)
method_43443(class_9801$class_4574 arg0, ByteBuffer arg1)
m_uyubtzgd(C_fpcijbbg$C_nrbitmxm arg0, ByteBuffer arg1)
uploadIndexBuffer(BuiltBuffer$DrawParameters parameters, ByteBuffer buf)
uploadIndices(BuiltBuffer$DrawParameters parameters, ByteBuffer arg1)
m_231223_(C_336471_$C_336447_ p_231225_, ByteBuffer arg1)
public void
a()
bind()
method_1353()
m_rnstvtge()
bind()
bind()
m_85921_()
public static void
b()
unbind()
method_1354()
m_byhiivrh()
unbind()
unbind()
m_85931_()
public void
c()
draw()
method_35665()
m_mefqlhes()
draw()
drawElements()
m_166882_()
private VertexFormat$IndexType
f()
getIndexType()
method_43445()
m_sjtdrddz()
getIndexType()
getIndexBufferType()
m_231231_()
public void
a(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, gkt 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)
m_hhvpgfwa(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, C_kfcjpoxm arg2)
draw(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram program)
draw(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, C_kfcjpoxm arg2)
m_253207_(org.joml.Matrix4f p_254555_, org.joml.Matrix4f p_369565_, C_346061_ arg2)
public void
close()
close()
close()
public VertexFormat
d()
getFormat()
method_34435()
m_nyzeuatd()
getVertexFormat()
getIndexType()
m_166892_()
public boolean
e()
isInvalid()
method_43444()
m_evikmcnb()
isClosed()
invalid()
m_231230_()