Merge pull request #79696 from reduz/call-on-render-thread

Add ability to call code on rendering thread
This commit is contained in:
Yuri Sizov
2023-07-31 21:01:21 +02:00
5 changed files with 28 additions and 0 deletions

View File

@ -1602,6 +1602,8 @@ public:
bool is_render_loop_enabled() const;
void set_render_loop_enabled(bool p_enabled);
virtual void call_on_render_thread(const Callable &p_callable) = 0;
RenderingServer();
virtual ~RenderingServer();