nngxSetCmdlistParameteri Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetCmdlistParameteri(
     GLenum pname,
     GLint param
);

Arguments

Name Description
in pname Parameter name
in param Parameter value

Return Values

No values are returned.

Description

Sets a parameter for the current command list.

Set pname to one of the following values.

NN_GX_CMDLIST_RUN_MODESets the command list to execution mode. You can only set param to NN_GX_CMDLIST_SERIAL_RUN.
NN_GX_CMDLIST_GAS_UPDATESets whether to update the additive blend results for gas density information rendering when 3D execution command execution is ending. You can set to pname to either GL_TRUE or GL_FALSE. (The default is GL_FALSE.)

The following is a detailed description of the NN_GX_CMDLIST_GAS_UPDATE setting.

When the nngxSplitDrawCmdlist or nngxFlush3DCommand function is called with param set to GL_TRUE, the additive blend results for gas density information rendering are updated when the accumulated render command requests have ended their execution. When param is set to GL_FALSE, operations return to normal and commands to update the gas density information are accummulated only when necessary.
This setting is made for each command list object. This setting is functional when it is GL_TRUE and when commands have accumulated (when the nngxSplitDrawCmdlist or nngxFlush3DCommand function has been called). When the command is executed, the fact that GL_TRUE is set has no effect on command execution. There is no impact on render command requests accumulated for functions other than the nngxSplitDrawCmdlist and nngxFlush3DCommand functions.

To read more about updating additive blend results for gas density information rendering, see the nngxSetGasAutoAccumulationUpdate function.

This function generates the following errors.

GL_ERROR_8015_DMPThe current command list is running.
GL_ERROR_8016_DMPThe pname or param argument was set to an invalid value.

See Also

nngxSetGasAutoAccumulationUpdate

Revision History

2011/02/01
Added description of NN_GX_CMDLIST_GAS_UPDATE to pname.
2010/03/12
Added extended error code(s).
2010/01/07
Initial version.

CONFIDENTIAL