nngxSetDisplayMode Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetDisplayMode(
     GLenum mode
);

Parameters

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.

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.

This function generates the following error.

GL_ERROR_9003_DMPInvalid value passed to mode.

Revision History

2012/02/03
Added error code list.
2010/04/14
Initial version.

CONFIDENTIAL