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 Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected final int
protected boolean
protected static final com.mojang.jtracy.MemoryPool
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GlBuffer
(GlDebugLabel pDebugLabel, Supplier<String> pLabel, BufferType pType, BufferUsage pUsage, int pSize, int pHandle) -
Method Summary
-
Field Details
-
MEMORY_POOl
protected static final com.mojang.jtracy.MemoryPool MEMORY_POOl -
closed
protected boolean closed -
initialized
protected boolean initialized -
label
-
handle
protected final int handle
-
-
Constructor Details
-
GlBuffer
protected GlBuffer(GlDebugLabel pDebugLabel, @Nullable Supplier<String> pLabel, BufferType pType, BufferUsage pUsage, int pSize, int pHandle)
-
-
Method Details