载入中...
搜索中...
未找到
AssetReloader.h
浏览该文件的文档.
Move-only, checked operation results for the common layer.
Resource is a game object that is managed by the ResourceManager. It can be loaded from a file or gen...
Definition Resource.h:51
virtual const char * reloadKind() const =0
Stable name for this reloader ("texture" / "particle" / "tilemap"). A path bound to this kind is offe...
virtual bool handlesPath(const std::string &normPath) const =0
virtual ~IAssetReloader()=default
virtual Resource * load(const std::string &key)
Create the CPU-side resource identified by key (a normalized VFS path, optionally followed by ?...
Definition AssetReloader.h:83
virtual eve::Result< bool > reload(const std::string &normPath)=0
Reload everything referencing normPath.
Definition AssetReloader.h:29
@ Resource