Merge pull request #92530 from Naros/expose-resource-cache-get-ref

Expose `get_cached_ref` from `ResourceCache`
This commit is contained in:
Rémi Verschelde
2024-08-28 15:46:35 +02:00
3 changed files with 15 additions and 0 deletions

View File

@ -83,6 +83,7 @@ public:
void set_abort_on_missing_resources(bool p_abort);
PackedStringArray get_dependencies(const String &p_path);
bool has_cached(const String &p_path);
Ref<Resource> get_cached_ref(const String &p_path);
bool exists(const String &p_path, const String &p_type_hint = "");
ResourceUID::ID get_resource_uid(const String &p_path);