1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../css/manpage.css" type="text/css" /> 7<title>nngxSetDisplayMode</title> 8 </head> 9 <body> 10<h1><CODE>nngxSetDisplayMode</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14NNGX_APICALL void NNGX_APIENTRY nngxSetDisplayMode( 15 GLenum mode 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>in</td> 31<th>mode</th> 32<td>Specifies the display mode.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36<div class="section">No values are returned. </div> 37<h2>Description</h2> 38 <div class="section"> 39<p>Sets the display mode for the upper screen.</p><P> 40For the <SPAN class="argument">mode</SPAN> argument, specify <CODE>NN_GX_DISPLAYMODE_NORMAL</CODE> or <CODE>NN_GX_DISPLAYMODE_STEREO</CODE>. Specifying any other value causes a <CODE>GL_ERROR_9003_DMP</CODE> error. 41</P><UL><LI>When in display mode <CODE>NN_GX_DISPLAYMODE_NORMAL</CODE>, the 400 lines of the display buffer are shown on the upper screen.</LI><LI>When in display mode <CODE>NN_GX_DISPLAYMODE_STEREO</CODE>, the two display buffers are used for the left eye and right eye displays for stereoscopic vision.</LI></UL><P> 42When in display mode <CODE>NN_GX_DISPLAYMODE_STEREO</CODE>, the extended display target <CODE>NN_GX_DISPLAY0_EXT</CODE> is used. Use the display buffer bound to <CODE>NN_GX_DISPLAY0</CODE> for the left eye, and the display buffer bound to <CODE>NN_GX_DISPLAY0_EXT</CODE> for the right eye. Similar to other display targets, activate, bind display buffers, and configure the display environment settings for <CODE>NN_GX_DISPLAY0_EXT</CODE> using the <CODE>nngxActiveDisplay</CODE>, <CODE>nngxBindDisplaybuffer</CODE>, and <CODE>nngxDisplayEnv</CODE> functions. 43 </P><P> 44The default display mode is <CODE>NN_GX_DISPLAYMODE_NORMAL</CODE>. 45 </P></div> 46<h2>Revision History</h2> 47 <div class="section"> 48 <dl class="history"> 49 <dt>2010/04/14</dt> 50<dd>Initial version.<br /> 51 </dd> 52 </dl> 53 </div> 54 <hr><p>CONFIDENTIAL</p></body> 55</html>