refactor: consolidate engine architecture contracts
This commit is contained in:
1 parent
4e8deb1180
commit
a8b8e83128
677 files changed
+79854
-9670
No files matched your search
@@ -97,6 +97,15 @@ public:
|
||||
return isModelPath(eve::ResourceManager::pathOfKey(normPath));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Participate in the canonical cache reload protocol.
|
||||
* @return `false`; ResourceManager reloads the owned CPU ModelData and
|
||||
* keeps its identity stable for existing holders.
|
||||
*/
|
||||
eve::Result<bool> reload(const std::string &) override {
|
||||
return eve::Result<bool>::success(false);
|
||||
}
|
||||
|
||||
eve::Resource *load(const std::string &key) override {
|
||||
const std::string path = eve::ResourceManager::pathOfKey(key);
|
||||
if (!isModelPath(path)) return nullptr;
|
||||
|
||||
Reference in new issue
Block a user