summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-28 15:46:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-28 15:46:35 +0200
commit8c5d1b42ab84876b442ff7dfd8af7502dd073fa9 (patch)
treec3b3c838c1ffcffc23539a30fc157fafe3d8f9fb /core/core_bind.h
parentf648de1a83cf006dbfdaa075219ad4348628e58f (diff)
parentf76b7ed5fc8e881e419ca297acdad69684659ca2 (diff)
downloadredot-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.h1
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);