Interface ResourceReference<T>

Type Parameters:
T - the type of the resource
All Known Implementing Classes:
SimpleResourceReference

public interface ResourceReference<T>
Holds a reference to a resource instance.
Author:
Jozef Hartinger, Stuart Douglas
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the instance of the resource
    void
    Release the resource instance
  • Method Details

    • getInstance

      T getInstance()
      Get the instance of the resource
      Returns:
      instance
    • release

      void release()
      Release the resource instance