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 booleanprivate final DirectStateAccessprotected final intprotected static final com.mojang.jtracy.MemoryPoolprotected ByteBufferFields inherited from class com.mojang.blaze3d.buffers.GpuBuffer
RESERVED_USAGE_BITS, 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
ConstructorsModifierConstructorDescriptionprotectedGlBuffer(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