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>nngxSetCmdlistParameteri</title> 8 </head> 9 <body> 10<h1><CODE>nngxSetCmdlistParameteri</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14NNGX_APICALL void NNGX_APIENTRY nngxSetCmdlistParameteri( 15 GLenum pname, 16 GLint param 17); 18</pre> 19 </div> 20<h2>Arguments</h2> 21 <div class="section"> 22 <table class="arguments"> 23 <thead> 24 <tr> 25 <td width="15" /> 26<th>Name</th> 27<td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31<td>in</td> 32<th>pname</th> 33<td>Parameter name</td> 34 </tr> 35 <tr> 36<td>in</td> 37<th>param</th> 38<td>Parameter value</td> 39 </tr> </table> 40 </div> 41<h2>Return Values</h2> 42<div class="section">No values are returned. </div> 43<h2>Description</h2> 44 <div class="section"> 45<p>Sets a parameter for the current command list.</p><P> 46Set <SPAN class="argument">pname</SPAN> to one of the following values. 47<TABLE><TR><TH>NN_GX_CMDLIST_RUN_MODE</TH><TD>Sets the command list to execution mode. You can only set <SPAN class="argument">param</SPAN> to <CODE>NN_GX_CMDLIST_SERIAL_RUN</CODE>.</TD></TR><TR><TH><CODE>NN_GX_CMDLIST_GAS_UPDATE</CODE></TH><TD>Sets whether to update the additive blend results for gas density information rendering when 3D execution command execution is ending. You can set to <CODE>pname</CODE> to either <CODE>GL_TRUE</CODE> or <CODE>GL_FALSE</CODE>. (The default is <CODE>GL_FALSE</CODE>.)</TD></TR></TABLE></P><P> 48The following is a detailed description of the <CODE>NN_GX_CMDLIST_GAS_UPDATE</CODE> setting. 49 </P><P> 50When the <CODE>nngxSplitDrawCmdlist</CODE> or <CODE>nngxFlush3DCommand</CODE> function is called with <CODE>param</CODE> set to <CODE>GL_TRUE</CODE>, the additive blend results for gas density information rendering are updated when the accumulated 3D execution commands have ended their execution. When <CODE>param</CODE> is set to <CODE>GL_FALSE</CODE>, operations return to normal and commands to update the gas density information are accummulated only when necessary.<BR />This setting is made for each command list object. This setting is functional when it is <CODE>GL_TRUE</CODE> and when commands have accumulated (when the <CODE>nngxSplitDrawCmdlist</CODE> or <CODE>nngxFlush3DCommand</CODE> function has been called). When the command is executed, the fact that <CODE>GL_TRUE</CODE> is set has no affect on command execution.<BR />There is no impact on 3D execution commands accumulated for functions other than those for the <CODE>nngxSplitDrawCmdlist</CODE> and <CODE>nngxFlush3DCommand</CODE> functions. 51 </P><P> 52To read more about updating additive blend results for gas density information rendering, see the <CODE>nngxSetGasAutoAccumulationUpdate</CODE> function. 53 </P><P> 54This function generates the following errors. 55<TABLE><TR><TH>GL_ERROR_8015_DMP</TH><TD>The current command list is running.</TD></TR><TR><TH>GL_ERROR_8016_DMP</TH><TD>The <SPAN class="argument">pname</SPAN> or <SPAN class="argument">param</SPAN> argument was set to an invalid value.</TD></TR></TABLE></P></div> 56<h2>See Also</h2> 57 <div class="section"> 58<p class="reference"><a href="../nn_gx/nngxSetGasAutoAccumulationUpdate.html"><CODE>nngxSetGasAutoAccumulationUpdate</CODE></a><br /> </p> 59 </div> 60<h2>Revision History</h2> 61 <div class="section"> 62 <dl class="history"> 63 <dt>2011/02/01</dt> 64<dd>Added description of <CODE>NN_GX_CMDLIST_GAS_UPDATE</CODE> to <CODE>pname</CODE>.<br /> 65 </dd> 66 <dt>2010/03/12</dt> 67<dd>Added extended error code(s).<br /> 68 </dd> 69 <dt>2010/01/07</dt> 70<dd>Initial version.<br /> 71 </dd> 72 </dl> 73 </div> 74 <hr><p>CONFIDENTIAL</p></body> 75</html> 76