1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Expose get_cached_ref from ResourceCache

This commit is contained in:
Chris Cranford
2024-05-28 22:38:09 -04:00
parent be56cab58c
commit f76b7ed5fc
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);