mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Add stereoscopic rendering through multiview
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "renderer_compositor.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
|
||||
@@ -39,4 +40,12 @@ RendererCompositor *RendererCompositor::create() {
|
||||
return _create_func();
|
||||
}
|
||||
|
||||
bool RendererCompositor::is_xr_enabled() const {
|
||||
return xr_enabled;
|
||||
}
|
||||
|
||||
RendererCompositor::RendererCompositor() {
|
||||
xr_enabled = GLOBAL_GET("rendering/xr/enabled");
|
||||
}
|
||||
|
||||
RendererCanvasRender *RendererCanvasRender::singleton = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user