summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDario <dariosamo@gmail.com>2024-04-05 13:00:20 -0300
committerDario <dariosamo@gmail.com>2024-04-05 13:14:07 -0300
commitecaafa6001e47ee0f8157e0e4846afd6e758a436 (patch)
treeb4eb94c6a45ce93c66d19622489b3dfae02f3600 /doc
parent655e93d5846b2ef8ebb7d22c8878f51b8f22b312 (diff)
downloadredot-engine-ecaafa6001e47ee0f8157e0e4846afd6e758a436.tar.gz
Add toggle for enabling or disabling RenderingDevice's pipeline cache.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ProjectSettings.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 4d3e838bb1..6a6f53ac60 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -2727,6 +2727,10 @@
<member name="rendering/rendering_device/driver.windows" type="String" setter="" getter="">
Windows override for [member rendering/rendering_device/driver].
</member>
+ <member name="rendering/rendering_device/pipeline_cache/enable" type="bool" setter="" getter="" default="true">
+ Enable the pipeline cache that is saved to disk if the graphics API supports it.
+ [b]Note:[/b] This property is unable to control the pipeline caching the GPU driver itself does. Only turn this off along with deleting the contents of the driver's cache if you wish to simulate the experience a user will get when starting the game for the first time.
+ </member>
<member name="rendering/rendering_device/pipeline_cache/save_chunk_size_mb" type="float" setter="" getter="" default="3.0">
Determines at which interval pipeline cache is saved to disk. The lower the value, the more often it is saved.
</member>