mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads (#8749)
* Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads --------- Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
@@ -60,6 +60,10 @@ To make rendering thread-safe, set the **Rendering > Driver > Thread Model** pro
|
||||
Note that the Multi-Threaded thread model has several known bugs, so it may not be usable
|
||||
in all scenarios.
|
||||
|
||||
You should avoid calling functions involving direct interaction with the GPU on other threads, such as creating new textures
|
||||
or modifying and retrieving image data, these operations can lead to performance stalls because they require synchronization
|
||||
with the :ref:`RenderingServer<class_RenderingServer>`, as data needs to be transmitted to or updated on the GPU.
|
||||
|
||||
GDScript arrays, dictionaries
|
||||
-----------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user