![]() |
Plasma Engine
2.0
|
Public Member Functions | |
virtual bool | IsResourceOutdated (const plResource *pResource) const override |
If this function returns true, a resource is unloaded and loaded again to update its content. | |
![]() | |
virtual plResourceLoadData | OpenDataStream (const plResource *pResource) override |
Override this function to implement the resource loading. | |
virtual void | CloseDataStream (const plResource *pResource, const plResourceLoadData &loaderData) override |
This function is called when the resource has been updated with the data from the resource loader and the loader can deallocate any temporary memory. | |
|
overridevirtual |
If this function returns true, a resource is unloaded and loaded again to update its content.
Call plResource::GetLoadedFileModificationTime() to query the file modification time that was returned through plResourceLoadData::m_LoadedFileModificationDate.
Reimplemented from plResourceLoaderFromFile.