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 booleanprotected final intprotected booleanprotected static final com.mojang.jtracy.MemoryPool -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlBuffer(GlDebugLabel debugLabel, Supplier<String> label, BufferType type, BufferUsage usage, int size, int handle) -
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 debugLabel, @Nullable Supplier<String> label, BufferType type, BufferUsage usage, int size, int handle)
-
-
Method Details