Class GLImage

All Implemented Interfaces:
RefCounted
Direct Known Subclasses:
GLRenderbuffer, GLTexture

public abstract sealed class GLImage extends Image permits GLTexture, GLRenderbuffer
Represents OpenGL textures and renderbuffers.
  • Constructor Details

  • Method Details

    • getGLDesc

      @Nonnull public final GLImageDesc getGLDesc()
    • getDevice

      protected GLDevice getDevice()
      Overrides:
      getDevice in class Resource
      Returns:
      the device or null if destroyed
    • getTarget

      public int getTarget()
    • getFormat

      public int getFormat()
    • getHandle

      public abstract int getHandle()