Class ReleaseCallback

java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.engine.ReleaseCallback
All Implemented Interfaces:
RefCounted

public abstract class ReleaseCallback extends RefCnt
Ref-counted object that calls a callback from its destructor.
  • Constructor Details Link icon

    • ReleaseCallback Link icon

      public ReleaseCallback()
  • Method Details Link icon

    • deallocate Link icon

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

      public abstract void invoke()
      This callback is invoked when the resource is released.