nngxSetCmdlistCallback Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxSetCmdlistCallback(
     void(*)(GLint) func
);

Arguments

Name Description
in func Callback function

Return Values

No values are returned.

Description

Sets the exit callback for the current command list.

When the command request specified by the nngxEnableCmdlistCallback function finishes, func is called. The callback function receives as an argument the number of the accumulated command that finished executing.

This function generates the following errors.

GL_ERROR_8010_DMPThe current command list is running.

Revision History

2010/08/11
Clarified condition for calling func.
2010/03/12
Added extended error code(s).
2010/01/07
Initial version.

CONFIDENTIAL