Merge pull request #79696 from reduz/call-on-render-thread
Add ability to call code on rendering thread
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user