nngxSetDisplayMode Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetDisplayMode(
     GLenum mode
);

Arguments

Name Description
in mode Specifies the display mode.

Return Values

No values are returned.

Description

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.

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.

Revision History

2010/04/14
Initial version.

CONFIDENTIAL