Package com.mojang.blaze3d.opengl
Class GlBuffer
java.lang.Object
com.mojang.blaze3d.buffers.GpuBuffer
com.mojang.blaze3d.opengl.GlBuffer
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.mojang.blaze3d.buffers.GpuBuffer
GpuBuffer.MappedView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
private final DirectStateAccess
protected final int
protected static final com.mojang.jtracy.MemoryPool
protected ByteBuffer
Fields inherited from class com.mojang.blaze3d.buffers.GpuBuffer
RESERVED_USAGE_BITS, size, USAGE_COPY_DST, USAGE_COPY_SRC, USAGE_HINT_CLIENT_STORAGE, USAGE_INDEX, USAGE_MAP_READ, USAGE_MAP_WRITE, USAGE_UNIFORM, USAGE_UNIFORM_TEXEL_BUFFER, USAGE_VERTEX
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GlBuffer
(Supplier<String> pLabel, DirectStateAccess pDsa, int pUsage, int pSize, int pHandle, ByteBuffer pPersistentBuffer) -
Method Summary
-
Field Details
-
MEMORY_POOl
protected static final com.mojang.jtracy.MemoryPool MEMORY_POOl -
closed
protected boolean closed -
label
-
dsa
-
handle
protected final int handle -
persistentBuffer
-
-
Constructor Details
-
GlBuffer
protected GlBuffer(@Nullable Supplier<String> pLabel, DirectStateAccess pDsa, int pUsage, int pSize, int pHandle, @Nullable ByteBuffer pPersistentBuffer)
-
-
Method Details