summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordzil123 <5725958+dzil123@users.noreply.github.com>2022-11-19 03:22:27 -0800
committerdzil123 <5725958+dzil123@users.noreply.github.com>2022-11-19 16:31:05 -0800
commit9ce9c959abb993b1c4edf242ff56ed5f568db791 (patch)
tree063a288432f6787d55dd47c76ae2996913ce26a1 /doc
parent84c404f6bcce9ba112118d77afd6bd70a92774d1 (diff)
RenderingServer::create_local_rendering_device null check and docs
Co-authored-by: Clay John <claynjohn@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/RenderingServer.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index 13e5470a56..2ffa4dc50b 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -838,6 +838,8 @@
<method name="create_local_rendering_device" qualifiers="const">
<return type="RenderingDevice" />
<description>
+ Creates a RenderingDevice that can be used to do draw and compute operations on a separate thread. Cannot draw to the screen nor share data with the global RenderingDevice.
+ [b]Note:[/b] When using the OpenGL backend or when running in headless mode, this function always returns [code]null[/code].
</description>
</method>
<method name="decal_create">
@@ -1273,6 +1275,8 @@
<method name="get_rendering_device" qualifiers="const">
<return type="RenderingDevice" />
<description>
+ Returns the global RenderingDevice.
+ [b]Note:[/b] When using the OpenGL backend or when running in headless mode, this function always returns [code]null[/code].
</description>
</method>
<method name="get_rendering_info">