summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorRobin Arys <robin@blueoniongames.com>2021-11-07 18:47:53 +0100
committerRémi Verschelde <remi@verschelde.fr>2022-07-31 14:04:11 +0200
commit1cfe3c3f8bd5c600e19926427c4b9c1426475edb (patch)
treee8573844e07e44dd54c054a7c5222807ccd997e1 /core/core_bind.h
parent475592a3bc2d2150dcbd9179fff653e3c55505a1 (diff)
downloadredot-engine-1cfe3c3f8bd5c600e19926427c4b9c1426475edb.tar.gz
Expose load_threaded_request's cachemode to GDScript
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index 068d2a6dc3..3a4faa3422 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -71,7 +71,7 @@ public:
static ResourceLoader *get_singleton() { return singleton; }
- Error load_threaded_request(const String &p_path, const String &p_type_hint = "", bool p_use_sub_threads = false);
+ Error load_threaded_request(const String &p_path, const String &p_type_hint = "", bool p_use_sub_threads = false, CacheMode p_cache_mode = CACHE_MODE_REUSE);
ThreadLoadStatus load_threaded_get_status(const String &p_path, Array r_progress = Array());
Ref<Resource> load_threaded_get(const String &p_path);