nngxFlush3DCommand Function
NNGX_APICALL void NNGX_APIENTRY nngxFlush3DCommand(
void
);
None.
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 while they are accumulating, 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 is added.
The 3D command buffer must have at its end a command to complete the loading of 3D commands. This command completes the loading of 3D commands even when functions that require interruption of the 3D command buffer are called (for example glCopyTexImage2D or glClear).
The following errors occur with this function.
| GL_ERROR_8084_DMP | 0 is bound to the current command list. |
|---|---|
| GL_ERROR_8085_DMP | The number of accumulated command requests has reached the maximum number of command requests. |
| GL_ERROR_8086_DMP | The accumulated 3D command buffer exceeds its maximum size when the command to complete the loading of 3D commands is added to the buffer. |
CONFIDENTIAL