nngxCopyCmdlist Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxCopyCmdlist(
     GLuint scmdlist,
     GLuint dcmdlist
);

Arguments

Name Description
in scmdlist Command list object to copy
in dcmdlist Destination command list object

Return Values

No values are returned.

Description

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_DMPCurrently bound command list specified for dcmdlist.
GL_ERROR_8048_DMPInvalid value specified for scmdlist.
GL_ERROR_8049_DMPInvalid value specified for dcmdlist.
GL_ERROR_804A_DMPSame value specified for both scmdlist and dcmdlist.
GL_ERROR_804B_DMPCommand list specified for dcmdlist is currently being executed.
GL_ERROR_804C_DMPSize of the commands accumulated in scmdlist exceeds the maximum size of the 3D command buffer or of the command request list specified by dcmdlist.

Revision History

2010/03/12
Initial version.

CONFIDENTIAL