com.mojang.blaze3d.buffers

public class GpuBuffer

implements AutoCloseable

fdq
com.mojang.blaze3d.buffers.GpuBuffer
net.minecraft.class_10227
net.minecraft.client.gl.GpuBuffer

Field summary

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

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)
public void
a(ByteBuffer arg0, int arg1)
write(ByteBuffer arg0, int arg1)
method_64321(ByteBuffer arg0, int arg1)
copyFrom(ByteBuffer buf, int offset)
public GpuBuffer$ReadView
a()
read()
method_64318()
read()
public GpuBuffer$ReadView
a(int arg0, int arg1)
read(int arg0, int arg1)
method_64320(int arg0, int arg1)
read(int offset, int bytes)
public void
close()
close()
public void
b()
bind()
method_64322()
bind()