diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-28 15:46:35 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-28 15:46:35 +0200 |
commit | 8c5d1b42ab84876b442ff7dfd8af7502dd073fa9 (patch) | |
tree | c3b3c838c1ffcffc23539a30fc157fafe3d8f9fb /core/core_bind.h | |
parent | f648de1a83cf006dbfdaa075219ad4348628e58f (diff) | |
parent | f76b7ed5fc8e881e419ca297acdad69684659ca2 (diff) | |
download | redot-engine-8c5d1b42ab84876b442ff7dfd8af7502dd073fa9.tar.gz |
Merge pull request #92530 from Naros/expose-resource-cache-get-ref
Expose `get_cached_ref` from `ResourceCache`
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index e953483391..122963e634 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -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); |