godot/doc
Juan Linietsky c7fb6cea3d Add ability to call code on rendering thread
As more users use compute in Godot 4, the way they do is most likely incompatible when running
on separate threads and will start erroring soon as we improve the thread safety of the render thread.

To properly run code on the render thread, this function was added. Use like this:

```GDScript

func initialize_compute_code():
	....

func update_compute_code(custom_data):
	...

func _ready():
	RenderingServer.call_on_render_thread( initialize_compute_code )

func _process():
	RenderingServer.call_on_render_thread( update_compute_code.bind(with_data) )

```
2023-07-26 12:28:00 +02:00
..
classes Add ability to call code on rendering thread 2023-07-26 12:28:00 +02:00
tools Merge pull request #79406 from Calinou/docstatus-fix-version 2023-07-14 18:50:04 +02:00
translations i18n: Sync translations with Weblate 2023-07-05 16:04:29 +02:00
class.xsd Doctool: Remove version attribute from XML header 2023-07-06 10:08:21 +02:00
Doxyfile Replace HTTP links with HTTPS for sites with HTTPS versions 2021-08-22 20:13:11 -05:00
Makefile [Export docs] Move docs to platform folders. 2023-04-20 11:02:12 +03:00