nngxSetCommandGenerationMode Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetCommandGenerationMode(
     GLenum mode
);

Arguments

Name Description
in mode Output mode

Return Values

No values are returned.

Description

Sets the command output mode.

Set mode to one of the following values.

NN_GX_CMDGEN_MODE_CONDITIONALCommands are generated only for states that have changed.
NN_GX_CMDGEN_MODE_UNCONDITIONALCommands are generated for states that have changed. Commands will be always generated for functions that are called, regardless of whether the state changed.

The mode is set to NN_GX_CMDGEN_MODE_CONDITIONAL by default. The following settings are affected by the NN_GX_CMDGEN_MODE_UNCONDITIONAL mode.

This function generates the following errors.

GL_ERROR_804D_DMPThe mode argument was set to an invalid value.

Revision History

2010/03/12
Initial version.

CONFIDENTIAL