gramods
SideBySideMultiplexer.hh
1 
2 #ifndef GRAMODS_GRAPHICS_SIDEBYSIDEMULTIPLEXER
3 #define GRAMODS_GRAPHICS_SIDEBYSIDEMULTIPLEXER
4 
5 #include <gmGraphics/MultiscopicMultiplexer.hh>
6 
7 BEGIN_NAMESPACE_GMGRAPHICS;
8 
14 
15 public:
16 
18 
25  void setPattern(int p);
26 
31  size_t getEyeCount() { return 2; }
32 
36  void prepare() override;
37 
41  void setupRendering(size_t eye) override;
42 
46  void finalize() override;
47 
48  GM_OFI_DECLARE;
49 
50 private:
51 
52  struct Impl;
53  std::unique_ptr<Impl> _impl;
54 
55 };
56 
57 END_NAMESPACE_GMGRAPHICS;
58 
59 #endif
The multiscopic multiplexing is the process of rendering images for the left and the right (or more) ...
Definition: MultiscopicMultiplexer.hh:30
Side-by-side stereoscopic multiplexing implementation.
Definition: SideBySideMultiplexer.hh:13
size_t getEyeCount()
Returns the number of eyes that should be rendered for the multiplexer.
Definition: SideBySideMultiplexer.hh:31