ezEngine  Release 25.03
ezRmlUiResourceLoader Class Reference
Inheritance diagram for ezRmlUiResourceLoader:

Public Member Functions

virtual bool IsResourceOutdated (const ezResource *pResource) const override
 If this function returns true, a resource is unloaded and loaded again to update its content. More...
 
- Public Member Functions inherited from ezResourceLoaderFromFile
virtual ezResourceLoadData OpenDataStream (const ezResource *pResource) override
 Override this function to implement the resource loading. More...
 
virtual void CloseDataStream (const ezResource *pResource, const ezResourceLoadData &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.
 

Member Function Documentation

◆ IsResourceOutdated()

bool ezRmlUiResourceLoader::IsResourceOutdated ( const ezResource pResource) const
overridevirtual

If this function returns true, a resource is unloaded and loaded again to update its content.

Call ezResource::GetLoadedFileModificationTime() to query the file modification time that was returned through ezResourceLoadData::m_LoadedFileModificationDate.

Reimplemented from ezResourceLoaderFromFile.


The documentation for this class was generated from the following files: