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

    • ReleaseCallback

      public ReleaseCallback()
  • Method Details

    • deallocate

      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

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