com.mojang.blaze3d.vertex

public class VertexBuffer

implements AutoCloseable

ffy
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 static VertexBuffer
a(fga$c arg0, fga arg1, Consumer<ffz> arg2)
uploadStatic(VertexFormat$Mode arg0, VertexFormat arg1, Consumer<VertexConsumer> arg2)
method_65175(class_293$class_5596 arg0, class_293 arg1, Consumer<class_4588> arg2)
m_xxoukjeq(C_rnldvdpe$C_ptsbsfse arg0, C_rnldvdpe arg1, Consumer<C_igthdzux> arg2)
createAndUpload(VertexFormat$DrawMode drawMode, VertexFormat format, Consumer<VertexConsumer> callback)
m_xxoukjeq(VertexFormat$DrawMode drawMode, VertexFormat format, Consumer<VertexConsumer> arg2)
m_372722_(C_3188_$C_141549_ p_376245_, C_3188_ p_376414_, Consumer<C_3187_> p_377755_)
public void
a(ffu 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(ffs$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(ffu$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(ffu$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, glj 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
a(gmj arg0)
drawWithRenderType(RenderType arg0)
method_65176(class_1921 arg0)
m_onofdqtp(C_tizlwnnv arg0)
draw(RenderLayer layer)
m_372822_(C_4168_ arg0)
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_()