Add a reference to the resource.
The object to strongly hold the resource.
This does not follow the standard listener pattern and is only called once.
The listener to call when the resource is unloaded.
Delete a reference to the resource.
The object that held the resource.
Returns the resource as a uri if this is external.
An optional name for the resource.
true if the resource if all references have been deleted.
Returns the resource as a Promise to array buffer.
A resource is an item referenced elsewhere with the application. This will track when a resource is no longer being used and can be removed.