net.minecraft.client.gl

public abstract class GlGpuBufferAllocator

implements GpuBufferAllocator, AutoCloseable

com.mojang.blaze3d.opengl.GlTransientMemory
net.minecraft.class_1_1014
net.minecraft.client.gl.GlGpuBufferAllocator

Field summary

Modifier and TypeField
private static final long
BLOCK_SIZE
field_1_6941
BLOCK_SIZE
private static final long
MAX_CPU_ALIGNMENT
field_1_6942
MAX_HOST_MEMORY_ALIGNMENT
private static final long
MAX_GPU_ALIGNMENT
field_1_6943
MAX_GPU_BUFFER_ALIGNMENT
final GlCommandEncoderBackend
encoder
field_1_7072
commandEncoder
protected final GlBufferManager
dsa
field_1_6947
bufferManager
protected final GpuBufferManager
bufferStorage
field_1_6944
gpuBufferManager
protected final DebugLabelManager
debugLabels
field_1_6946
debugLabelManager
private final Arena<Long>
cpuBlockAllocator
field_1_6945
memoryArena
static final boolean
$assertionsDisabled
field_1_6940
field_1_6940

Constructor summary

ModifierConstructor
(GlBackend device, GlCommandEncoderBackend commandEncoder)

Method summary

Modifier and TypeMethod
public void
close()
public ByteBuffer
allocateCpu(long size, long alignment, long minimumAllocation, long elementSize)
method_1_6150(long arg0, long arg1, long arg2, long arg3)
allocateByteBuffer(long arg0, long arg1, long arg2, long arg3)
public void
rotate()
method_1_6167()
start()