net.minecraft.client.gl

public abstract class GlGpuBufferAllocator

implements GpuBufferAllocator, AutoCloseable

com.mojang.blaze3d.opengl.GlTransientMemory
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
BLOCK_SIZE
field_1_6941
BLOCK_SIZE
private static final long
MAX_CPU_ALIGNMENT
MAX_CPU_ALIGNMENT
field_1_6942
MAX_HOST_MEMORY_ALIGNMENT
private static final long
MAX_GPU_ALIGNMENT
MAX_GPU_ALIGNMENT
field_1_6943
MAX_GPU_BUFFER_ALIGNMENT
final GlCommandEncoderBackend
encoder
encoder
field_1_7072
commandEncoder
protected final GlBufferManager
dsa
dsa
field_1_6947
bufferManager
protected final GpuBufferManager
bufferStorage
bufferStorage
field_1_6944
gpuBufferManager
protected final DebugLabelManager
debugLabels
debugLabels
field_1_6946
debugLabelManager
private final Arena<Long>
cpuBlockAllocator
cpuBlockAllocator
field_1_6945
memoryArena

Constructor summary

ModifierConstructor
(GlBackend device, GlCommandEncoderBackend commandEncoder)

Method summary

Modifier and TypeMethod
public void
close()
close()
public ByteBuffer
allocateCpu(long size, long alignment, long minimumAllocation, long elementSize)
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()
rotate()
method_1_6167()
start()