summaryrefslogtreecommitdiffstats
path: root/src/engine/Qt3DSRuntimeView.h
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2019-10-09 20:51:39 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2019-10-11 13:10:32 +0300
commit7da61c9da6b885fa90d274d220c2bcef2553b006 (patch)
treefbd473eff154ab42133ff14724e87128892b9922 /src/engine/Qt3DSRuntimeView.h
parentd0cfd79d940bd9ed4dd63334ecf686fa013eaf37 (diff)
Add anaglyph stereoscopic modes into opengl runtime
Implement also anaglyph red-cyan & green-magenta stereoscopic modes for opengl runtime. APIs for C++ and QML. Add options into viewer. Task-number: QT3DS-3981 Change-Id: Idb9f659b3799e954253e37045c1a3b2a55fb2779 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/engine/Qt3DSRuntimeView.h')
-rw-r--r--src/engine/Qt3DSRuntimeView.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/Qt3DSRuntimeView.h b/src/engine/Qt3DSRuntimeView.h
index 4e0b420..e3f57d1 100644
--- a/src/engine/Qt3DSRuntimeView.h
+++ b/src/engine/Qt3DSRuntimeView.h
@@ -110,7 +110,9 @@ struct TegraRenderStereoModes
enum Enum {
Mono,
TopBottom,
- LeftRight
+ LeftRight,
+ AnaglyphRedCyan,
+ AnaglyphGreenMagenta
};
};