Class GLProgram

All Implemented Interfaces:
RefCounted

public final class GLProgram extends ManagedResource
Represents OpenGL programs.
  • Constructor Details

    • GLProgram

      public GLProgram(@Nonnull GLDevice device, int program)
  • Method Details

    • deallocate

      protected void deallocate()
      Description copied from class: RefCnt
      Override this method to invoke de-allocation of the underlying resource.
      Specified by:
      deallocate in class RefCnt
    • discard

      public void discard()
    • getProgram

      public int getProgram()