nngxCopyCmdlist Function
NNGX_APICALL void NNGX_APIENTRY nngxCopyCmdlist(
GLuint scmdlist,
GLuint dcmdlist
);
| Name | Description | |
|---|---|---|
| in | scmdlist | Command list object to copy |
| in | dcmdlist | Destination command list object |
Copies a command-list object to another command-list object.
Copies the commands accumulated in a command list. Set scmdlist equal to the command list to copy and dcmdlist equal to the destination command list. Commands copied into the command list overwrite any commands that have already been accumulated there.
This function generates the following errors.
| GL_ERROR_8047_DMP | Currently bound command list specified for dcmdlist. |
|---|---|
| GL_ERROR_8048_DMP | Invalid value specified for scmdlist. |
| GL_ERROR_8049_DMP | Invalid value specified for dcmdlist. |
| GL_ERROR_804A_DMP | Same value specified for both scmdlist and dcmdlist. |
| GL_ERROR_804B_DMP | Command list specified for dcmdlist is currently being executed. |
| GL_ERROR_804C_DMP | Size of the commands accumulated in scmdlist exceeds the maximum size of the 3D command buffer or of the command request list specified by dcmdlist. |
CONFIDENTIAL