diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-31 11:02:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 11:02:19 +0200 |
commit | 596eb783fe34cccd9e9b9c214028033137fa26ea (patch) | |
tree | 98e0fa3e8bfbda7f21454783454b0b23c7849bb0 /core/config/engine.h | |
parent | f7bcada709d9b79834b8984cdccace06aa5c9006 (diff) | |
parent | 0d2e02945b07073ed8c76ca118e36da825c0c1ec (diff) |
Merge pull request #49050 from reduz/implement-spirv-cache
Implement shader caching
Diffstat (limited to 'core/config/engine.h')
-rw-r--r-- | core/config/engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/config/engine.h b/core/config/engine.h index a9080e3dfd..276da1c7ea 100644 --- a/core/config/engine.h +++ b/core/config/engine.h @@ -72,6 +72,8 @@ private: static Engine *singleton; + String shader_cache_path; + public: static Engine *get_singleton(); @@ -121,6 +123,9 @@ public: Dictionary get_license_info() const; String get_license_text() const; + void set_shader_cache_path(const String &p_path); + String get_shader_cache_path() const; + bool is_abort_on_gpu_errors_enabled() const; bool is_validation_layers_enabled() const; |