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
    • initialized

      protected boolean initialized
    • label

      @Nullable protected final Supplier<String> label
    • handle

      protected final int handle
  • Constructor Details

  • Method Details

    • ensureBufferExists

      protected void ensureBufferExists()
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in class GpuBuffer
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class GpuBuffer