nngxFlush3DCommand Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxFlush3DCommand(
     void
);

Arguments

None.

Return Values

There is no return value.

Description

Issues a 3D execution command and flushes the accumulated 3D command buffer.

A command to complete the loading of 3D commands is added to the 3D command buffer of bound command-list objects, and a 3D execution command is queued to the command requests. If commands are run as they are accumulated, all 3D commands up the split point created by this function are run.

If, after the last splitting of the 3D command buffer, there are no accumulated 3D commands, then neither the command to complete the loading of 3D commands nor the 3D execution command will be added.

The 3D command buffer must have at its end a command to complete the loading of 3D commands. This command to complete the loading of 3D commands is inserted at the end of the 3D command buffer even when functions like glCopyTexImage2D or glClear that require interruption of the 3D command buffer are called.

The following errors occur with this function.

GL_ERROR_8084_DMP0 is bound to the current command list.
GL_ERROR_8085_DMPThe number of accumulated command requests has reached the maximum number of command requests.
GL_ERROR_8086_DMPThe accumulated 3D command buffer exceeds its maximum size when the command to complete the loading of 3D commands is added to the buffer.

Revision History

2010/10/07
Initial version.

CONFIDENTIAL