diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 13:54:07 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 13:54:07 +0100 |
commit | 172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d (patch) | |
tree | 73627f420c0d622ff4358b665a3403381404438f /core/core_bind.h | |
parent | da916221a71eaa0a66b8e84bd6ce05229786aa12 (diff) | |
parent | 5e144022e70975a246a14f0343215cde92893b7b (diff) | |
download | redot-engine-172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d.tar.gz |
Merge pull request #88664 from RandomShaper/res_load_modes
Enhance cache modes in resource loading
Diffstat (limited to 'core/core_bind.h')
-rw-r--r-- | core/core_bind.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/core_bind.h b/core/core_bind.h index f884426881..3440531124 100644 --- a/core/core_bind.h +++ b/core/core_bind.h @@ -63,9 +63,11 @@ public: }; enum CacheMode { - CACHE_MODE_IGNORE, // Resource and subresources do not use path cache, no path is set into resource. - CACHE_MODE_REUSE, // Resource and subresources use patch cache, reuse existing loaded resources instead of loading from disk when available. - CACHE_MODE_REPLACE, // Resource and subresource use path cache, but replace existing loaded resources when available with information from disk. + CACHE_MODE_IGNORE, + CACHE_MODE_REUSE, + CACHE_MODE_REPLACE, + CACHE_MODE_IGNORE_DEEP, + CACHE_MODE_REPLACE_DEEP, }; static ResourceLoader *get_singleton() { return singleton; } |