class IResourceListener

Interface that allows the implementing class to be notified when the resources it is referencing change.

Public

Constructors

IResourceListener

IResourceListener()

Methods

~IResourceListener

virtual ~IResourceListener() noexcept

Protected

Methods

GetListenerResources

virtual void GetListenerResources(Vector<HResource> &resources) = 0

Retrieves all the resources that the class depends on.

MarkListenerResourcesDirty

virtual void MarkListenerResourcesDirty()

Marks the resource dependencies list as dirty and schedules it for rebuild.

NotifyResourceLoaded

virtual void NotifyResourceLoaded(const HResource &resource)

Called when a resource has been fully loaded.

NotifyResourceChanged

virtual void NotifyResourceChanged(const HResource &resource)

Called when the internal resource the resource handle is pointing to changes.