diff options
author | Robin Arys <robin@blueoniongames.com> | 2021-11-07 18:47:53 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2022-07-31 14:04:11 +0200 |
commit | 1cfe3c3f8bd5c600e19926427c4b9c1426475edb (patch) | |
tree | e8573844e07e44dd54c054a7c5222807ccd997e1 /core/core_bind.h | |
parent | 475592a3bc2d2150dcbd9179fff653e3c55505a1 (diff) | |
download | redot-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.h | 2 |
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); |