diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-23 10:41:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 10:41:58 +0200 |
commit | 7b3759a94e835951c1d87472e83195e0347d08e5 (patch) | |
tree | 5fc9ee7b08820b9835cefc73d4b4cb9e493b0910 /servers/rendering_server.h | |
parent | c10e8ac1de356be4e85744818392eef2a1443e99 (diff) | |
parent | 40159244cdf5ae7c0e42a7cc402dc103244442e1 (diff) |
Merge pull request #42130 from clayjohn/RenderingDeviceHack
Expose local RenderingDevice creation to RenderingServer
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 49f840948f..7dae45f126 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -39,6 +39,7 @@ #include "core/typed_array.h" #include "core/variant.h" #include "servers/display_server.h" +#include "servers/rendering/rendering_device.h" #include "servers/rendering/shader_language.h" class RenderingServer : public Object { @@ -1311,6 +1312,8 @@ public: virtual bool is_low_end() const = 0; + RenderingDevice *create_local_rendering_device() const; + bool is_render_loop_enabled() const; void set_render_loop_enabled(bool p_enabled); |