1 #ifndef MSP_VR_SIDEBYSIDECOMBINER_H_
2 #define MSP_VR_SIDEBYSIDECOMBINER_H_
4 #include <msp/gl/mesh.h>
5 #include <msp/gl/program.h>
6 #include <msp/gl/programdata.h>
7 #include <msp/gl/view.h>
8 #include "stereocombiner.h"
13 class SideBySideCombiner: public StereoCombiner
18 GL::ProgramData left_shdata;
19 GL::ProgramData right_shdata;
23 SideBySideCombiner(GL::View &, bool = false);
25 void set_cross_eyed(bool);
27 virtual void render(const GL::Texture2D &, const GL::Texture2D &) const;