Class GlBuffer

java.lang.Object
com.mojang.blaze3d.buffers.GpuBuffer
com.mojang.blaze3d.opengl.GlBuffer
All Implemented Interfaces:
AutoCloseable

public class GlBuffer extends GpuBuffer
  • Field Details

    • MEMORY_POOl

      protected static final com.mojang.jtracy.MemoryPool MEMORY_POOl
    • closed

      protected boolean closed
    • label

      protected final @Nullable Supplier<String> label
    • dsa

      private final DirectStateAccess dsa
    • handle

      protected final int handle
    • persistentBuffer

      protected @Nullable ByteBuffer persistentBuffer
  • Constructor Details

    • GlBuffer

      protected GlBuffer(@Nullable Supplier<String> pLabel, DirectStateAccess pDsa, @com.mojang.blaze3d.buffers.GpuBuffer.Usage int pUsage, long pSize, int pHandle, @Nullable ByteBuffer pPersistentBuffer)
  • Method Details