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