nngxEnableCmdlistCallback Function
NNGX_APICALL void NNGX_APIENTRY nngxEnableCmdlistCallback(
GLint id
);
| Name | Description | |
|---|---|---|
| in | id | Number of the accumulated command for which to enable a callback |
Enables an exit callback in the current command list.
When the idth command accumulated in the command list finishes, the callback function configured by nngxSetCmdlistCallback is invoked. You can configure each command accumulated in the command list. When id is set to -1, a callback is invoked upon execution of the last command accumulated in the command list. Exit callbacks are disabled for all commands by default.
This function generates the following errors.
| GL_ERROR_8012_DMP | Occurs when id is 0, a negative number other than -1, or a value greater than or equal to the number of elements allocated in nngxCmdlistStorage. |
|---|
CONFIDENTIAL