com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

fbl
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 VertexBuffer$Usage
a
usage
field_44792
f_uadabkas
usage
usage
f_285574_
private int
b
vertexBufferId
field_1594
f_udodmwrg
vertexBufferId
vertexBufferId
f_231217_
private int
c
indexBufferId
field_27366
f_cebyrmhn
indexBufferId
indexBufferId
f_166860_
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 (VertexBuffer$Usage usage)

Method summary

Modifier and TypeMethod
public void
a(fbh 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(fbf$a arg0)
uploadIndexBuffer(ByteBufferBuilder$Result arg0)
method_60829(class_9799$class_9800 arg0)
m_ldddkcyb(C_wcwbedxs$C_thqtmwcx arg0)
uploadIndexBuffer(BufferAllocator$CloseableBuffer indexBuffer)
uploadView(Buffer$View view)
m_338802_(C_336589_$C_336543_ arg0)
private VertexFormat
a(fbh$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(fbh$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 indexBuffer)
uploadIndices(BuiltBuffer$DrawParameters parameters, ByteBuffer data)
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, gfn 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)
m_hhvpgfwa(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, C_alllhitb arg2)
draw(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram program)
draw(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram shader)
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, gfn 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)
m_ikpyaonm(org.joml.Matrix4f arg0, org.joml.Matrix4f arg1, C_alllhitb arg2)
drawInternal(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram shader)
drawInternal(org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, ShaderProgram shader)
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()
m_nyzeuatd()
getVertexFormat()
getIndexType()
m_166892_()
public boolean
e()
isInvalid()
method_43444()
m_evikmcnb()
isClosed()
invalid()
m_231230_()