summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorKusok <118438257+kus04e4ek@users.noreply.github.com>2024-07-26 21:30:59 +0800
committerKusok <118438257+kus04e4ek@users.noreply.github.com>2024-07-27 16:17:20 +0800
commitd30c1e6a8f017ce3837fc97c2532508b49891100 (patch)
tree381d30a87a32b93dc1b77edcfa335cda46101097 /doc/classes
parente343dbbcc1030f04dc5833f1c19d267a17332ca9 (diff)
downloadredot-engine-d30c1e6a8f017ce3837fc97c2532508b49891100.tar.gz
Fall back to D3D12 if Vulkan is not supported and vice versa
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ProjectSettings.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 4f7f372864..22c25dd5e5 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -2765,6 +2765,14 @@
<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/fallback_to_d3d12" type="bool" setter="" getter="" default="true">
+ If [code]true[/code], the forward renderer will fall back to Direct3D 12 if Vulkan is not supported.
+ [b]Note:[/b] This setting is implemented only on Windows.
+ </member>
+ <member name="rendering/rendering_device/fallback_to_vulkan" type="bool" setter="" getter="" default="true">
+ If [code]true[/code], the forward renderer will fall back to Vulkan if Direct3D 12 is not supported.
+ [b]Note:[/b] This setting is implemented only on Windows.
+ </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.