nngxFlush3DCommand Function
NNGX_APICALL void NNGX_APIENTRY nngxFlush3DCommand(
void
);
None.
Issues a render command request and flushes the accumulated 3D command buffer.
A command to complete the loading of 3D commands is added to the 3D command buffer of the bound command list object, and a render command request 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 render command request 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).
This function generates the following errors.
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. |
nngxFlush3DCommandPartially
CONFIDENTIAL