Public Types |
| enum | DisplayType { MONITOR,
POWERWALL,
REALITY_CENTER,
HEAD_MOUNTED_DISPLAY
} |
| enum | StereoMode {
QUAD_BUFFER,
ANAGLYPHIC,
HORIZONTAL_SPLIT,
VERTICAL_SPLIT,
LEFT_EYE,
RIGHT_EYE,
HORIZONTAL_INTERLACE,
VERTICAL_INTERLACE,
CHECKERBOARD
} |
| enum | SplitStereoHorizontalEyeMapping { LEFT_EYE_LEFT_VIEWPORT,
LEFT_EYE_RIGHT_VIEWPORT
} |
| enum | SplitStereoVerticalEyeMapping { LEFT_EYE_TOP_VIEWPORT,
LEFT_EYE_BOTTOM_VIEWPORT
} |
Public Member Functions |
| | DisplaySettings () |
| | DisplaySettings (ArgumentParser &arguments) |
| | DisplaySettings (const DisplaySettings &vs) |
| DisplaySettings & | operator= (const DisplaySettings &vs) |
| void | setDisplaySettings (const DisplaySettings &vs) |
| void | merge (const DisplaySettings &vs) |
| void | setDefaults () |
| void | readEnvironmentalVariables () |
| void | readCommandLine (ArgumentParser &arguments) |
| void | setDisplayType (DisplayType type) |
| DisplayType | getDisplayType () const |
| void | setStereo (bool on) |
| bool | getStereo () const |
| void | setStereoMode (StereoMode mode) |
| StereoMode | getStereoMode () const |
| void | setEyeSeparation (float eyeSeparation) |
| float | getEyeSeparation () const |
| void | setSplitStereoHorizontalEyeMapping (SplitStereoHorizontalEyeMapping m) |
| SplitStereoHorizontalEyeMapping | getSplitStereoHorizontalEyeMapping () const |
| void | setSplitStereoHorizontalSeparation (int s) |
| int | getSplitStereoHorizontalSeparation () const |
| void | setSplitStereoVerticalEyeMapping (SplitStereoVerticalEyeMapping m) |
| SplitStereoVerticalEyeMapping | getSplitStereoVerticalEyeMapping () const |
| void | setSplitStereoVerticalSeparation (int s) |
| int | getSplitStereoVerticalSeparation () const |
| void | setSplitStereoAutoAdjustAspectRatio (bool flag) |
| bool | getSplitStereoAutoAdjustAspectRatio () const |
| void | setScreenWidth (float width) |
| float | getScreenWidth () const |
| void | setScreenHeight (float height) |
| float | getScreenHeight () const |
| void | setScreenDistance (float distance) |
| float | getScreenDistance () const |
| void | setDoubleBuffer (bool flag) |
| bool | getDoubleBuffer () const |
| void | setRGB (bool flag) |
| bool | getRGB () const |
| void | setDepthBuffer (bool flag) |
| bool | getDepthBuffer () const |
| void | setMinimumNumAlphaBits (unsigned int bits) |
| unsigned int | getMinimumNumAlphaBits () const |
| bool | getAlphaBuffer () const |
| void | setMinimumNumStencilBits (unsigned int bits) |
| unsigned int | getMinimumNumStencilBits () const |
| bool | getStencilBuffer () const |
| void | setMinimumNumAccumBits (unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) |
| unsigned int | getMinimumNumAccumRedBits () const |
| unsigned int | getMinimumNumAccumGreenBits () const |
| unsigned int | getMinimumNumAccumBlueBits () const |
| unsigned int | getMinimumNumAccumAlphaBits () const |
| bool | getAccumBuffer () const |
| void | setMaxNumberOfGraphicsContexts (unsigned int num) |
| unsigned int | getMaxNumberOfGraphicsContexts () const |
| void | setNumMultiSamples (unsigned int samples) |
| unsigned int | getNumMultiSamples () const |
| bool | getMultiSamples () const |
| void | setCompileContextsHint (bool useCompileContexts) |
| bool | getCompileContextsHint () const |
| void | setSerializeDrawDispatch (bool serializeDrawDispatch) |
| bool | getSerializeDrawDispatch () const |
| void | setNumOfDatabaseThreadsHint (unsigned int numThreads) |
| unsigned int | getNumOfDatabaseThreadsHint () const |
| void | setNumOfHttpDatabaseThreadsHint (unsigned int numThreads) |
| unsigned int | getNumOfHttpDatabaseThreadsHint () const |
| void | setApplication (const std::string &application) |
| const std::string & | getApplication () |
Static Public Member Functions |
| static DisplaySettings * | instance () |
Protected Member Functions |
| virtual | ~DisplaySettings () |
Protected Attributes |
| DisplayType | _displayType |
| bool | _stereo |
| StereoMode | _stereoMode |
| float | _eyeSeparation |
| float | _screenWidth |
| float | _screenHeight |
| float | _screenDistance |
| SplitStereoHorizontalEyeMapping | _splitStereoHorizontalEyeMapping |
| int | _splitStereoHorizontalSeparation |
| SplitStereoVerticalEyeMapping | _splitStereoVerticalEyeMapping |
| int | _splitStereoVerticalSeparation |
| bool | _splitStereoAutoAdjustAspectRatio |
| bool | _doubleBuffer |
| bool | _RGB |
| bool | _depthBuffer |
| unsigned int | _minimumNumberAlphaBits |
| unsigned int | _minimumNumberStencilBits |
| unsigned int | _minimumNumberAccumRedBits |
| unsigned int | _minimumNumberAccumGreenBits |
| unsigned int | _minimumNumberAccumBlueBits |
| unsigned int | _minimumNumberAccumAlphaBits |
| unsigned int | _maxNumOfGraphicsContexts |
| unsigned int | _numMultiSamples |
| bool | _compileContextsHint |
| bool | _serializeDrawDispatch |
| unsigned int | _numDatabaseThreadsHint |
| unsigned int | _numHttpDatabaseThreadsHint |
| std::string | _application |