com.mojang.blaze3d.buffers

public class GpuBuffer

implements AutoCloseable

fen
com.mojang.blaze3d.buffers.GpuBuffer
net.minecraft.class_10227
net.minecraft.client.gl.GpuBuffer
net.minecraft.src.C_345828_

Field summary

Modifier and TypeField
private static final com.mojang.jtracy.MemoryPool
c
MEMORY_POOl
field_54352
MEMORY_POOL
f_346403_
private final BufferType
d
type
field_54353
target
f_349231_
private final BufferUsage
e
usage
field_54354
usage
f_347907_
private boolean
f
closed
field_54355
closed
f_349330_
private boolean
g
initialized
field_54356
initialized
f_347241_
public final int
a
handle
field_54350
handle
f_348836_
public int
b
size
field_54351
size
f_347532_

Constructor summary

ModifierConstructor
public (BufferType target, BufferUsage usage, int size)
public (BufferType target, BufferUsage usage, ByteBuffer buf)

Method summary

Modifier and TypeMethod
public void
a(int arg0)
resize(int arg0)
method_64319(int arg0)
resize(int newSize)
m_357097_(int arg0)
public void
a(ByteBuffer arg0, int arg1)
write(ByteBuffer arg0, int arg1)
method_64321(ByteBuffer arg0, int arg1)
copyFrom(ByteBuffer buf, int offset)
m_356647_(ByteBuffer p_364980_, int arg1)
public GpuBuffer$ReadView
a()
read()
method_64318()
read()
m_352268_()
public GpuBuffer$ReadView
a(int arg0, int arg1)
read(int arg0, int arg1)
method_64320(int arg0, int arg1)
read(int offset, int bytes)
m_352656_(int p_362198_, int arg1)
public void
close()
close()
close()
public void
b()
bind()
method_64322()
bind()
m_352307_()