nngxSetDisplayMode Function
NNGX_APICALL void NNGX_APIENTRY nngxSetDisplayMode(
GLenum mode
);
| Name | Description | |
|---|---|---|
| in | mode | Specifies the display mode. |
Sets the display mode for the upper screen.
For the mode argument, specify NN_GX_DISPLAYMODE_NORMAL or NN_GX_DISPLAYMODE_STEREO. Specifying any other value causes a GL_ERROR_9003_DMP error.
NN_GX_DISPLAYMODE_NORMAL, the 400 lines of the display buffer are shown on the upper screen.NN_GX_DISPLAYMODE_STEREO, the two display buffers are used for the left eye and right eye displays for stereoscopic vision.
When in display mode NN_GX_DISPLAYMODE_STEREO, the extended display target NN_GX_DISPLAY0_EXT is used. Use the display buffer bound to NN_GX_DISPLAY0 for the left eye, and the display buffer bound to NN_GX_DISPLAY0_EXT for the right eye. Similar to other display targets, activate, bind display buffers, and configure the display environment settings for NN_GX_DISPLAY0_EXT using the nngxActiveDisplay, nngxBindDisplaybuffer, and nngxDisplayEnv functions.
The default display mode is NN_GX_DISPLAYMODE_NORMAL.
CONFIDENTIAL