gramods
|
Stereo rendering multiplexer that directs left and right eye rendering to the left and right back buffers, respectively. More...
#include <QuadBufferMultiplexer.hh>
Classes | |
struct | Impl |
Public Member Functions | |
size_t | getEyeCount () |
Returns the number of eyes that should be rendered for the multiplexer. More... | |
void | prepare () override |
Prepares the multiplexer for rendering to the two eyes. More... | |
void | setupRendering (size_t eye) override |
Sets up rendering for one eye at a time. More... | |
void | finalize () override |
Finalizes the multiplexing. More... | |
![]() | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Stereo rendering multiplexer that directs left and right eye rendering to the left and right back buffers, respectively.
This requires support for quad buffer rendering on graphics hardware, driver and current graphics context.
|
overridevirtual |
Finalizes the multiplexing.
Implements gramods::gmGraphics::MultiscopicMultiplexer.
|
inlinevirtual |
Returns the number of eyes that should be rendered for the multiplexer.
Returns the value two (2).
Implements gramods::gmGraphics::MultiscopicMultiplexer.
|
overridevirtual |
Prepares the multiplexer for rendering to the two eyes.
Implements gramods::gmGraphics::MultiscopicMultiplexer.
|
overridevirtual |
Sets up rendering for one eye at a time.
Implements gramods::gmGraphics::MultiscopicMultiplexer.