nngxSetCommandGenerationMode Function
NNGX_APICALL void NNGX_APIENTRY nngxSetCommandGenerationMode(
GLenum mode
);
| Name | Description | |
|---|---|---|
| in | mode | Output mode |
Sets the command output mode.
Set mode to one of the following values.
| NN_GX_CMDGEN_MODE_CONDITIONAL | Commands are generated only for states that have changed. |
|---|---|
| NN_GX_CMDGEN_MODE_UNCONDITIONAL | Commands 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.
glDrawArrays, glDrawElements, and nngxValidateState.This function generates the following errors.
| GL_ERROR_804D_DMP | The mode argument was set to an invalid value. |
|---|
CONFIDENTIAL