]> git.tdb.fi Git - libs/vr.git/blob - source/openvr/openvrcombiner.h
94ccce36be99b597bf05f9fd7c23406eee88cd6d
[libs/vr.git] / source / openvr / openvrcombiner.h
1 #ifndef MSP_VR_OPENVRCOMBINER_H_
2 #define MSP_VR_OPENVRCOMBINER_H_
3
4 #include <msp/gl/view.h>
5 #include <msp/vr/stereocombiner.h>
6
7 namespace Msp {
8 namespace VR {
9
10 class OpenVRSystem;
11
12 class OpenVRCombiner: public StereoCombiner
13 {
14 private:
15         struct Private;
16
17         OpenVRSystem &device;
18         GL::View &view;
19
20 public:
21         OpenVRCombiner(OpenVRSystem &, GL::View &);
22
23         virtual void prepare() const;
24         virtual void render(const GL::Texture2D &, const GL::Texture2D &) const;
25 };
26
27 } // namespace VR
28 } // namespace Msp
29
30 #endif