1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7<title>nngxAddCmdlist</title>
8  </head>
9  <body>
10<h1><CODE>nngxAddCmdlist</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14NNGX_APICALL void NNGX_APIENTRY nngxAddCmdlist(
15     GLuint cmdlist
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21      <table class="arguments">
22        <thead>
23          <tr>
24            <td width="15" />
25<th>Name</th>
26<td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30<td>in</td>
31<th>cmdlist</th>
32<td>Command list object to be added to the current command list object.</td>
33        </tr> </table>
34    </div>
35<h2>Return Values</h2>
36<div class="section">There is no return value. </div>
37<h2>Description</h2>
38    <div class="section">
39<p>Adds the content of the specified command list object to the current command list object.</p><P>
40Adds all commands accumulated in the command list object specified in <SPAN class="argument">cmdlist</SPAN> to the current command list object. If commands have already been accumulated in the current command list, the commands from <SPAN class="argument">cmdlist</SPAN> are added after the accumulated commands.
41            </P><P>
42If it is not immediately after the current 3D command buffer has been split, and if the first command of the additional command requests is <I>not</I> a 3D execution command, the <CODE>nngxSplitDrawCmdlist</CODE> function is called to split the command buffer, and then the commands are added.
43            </P><P>
44If it is not immediately after the current 3D command buffer has been split, and if the first command of the additional command requests <I>is</I> a 3D execution command, dummy commands are added as needed to adjust alignment, and then the commands are added.
45            </P><P>
46The results of any later checks of the maximum size includes the effects of internal calls to <CODE>nngxSplitDrawCmdlist</CODE> and of additional dummy commands.
47            </P><P>
48The following errors occur in this function.
49<TABLE><TR><TH>GL_ERROR_8054_DMP</TH><TD>Invalid value specified for <SPAN class="argument">cmdlist</SPAN>.</TD></TR><TR><TH>GL_ERROR_8055_DMP</TH><TD>The command list is not currently bound.</TD></TR><TR><TH>GL_ERROR_8056_DMP</TH><TD>The <SPAN class="argument">cmdlist</SPAN> argument specifies the current command list.</TD></TR><TR><TH>GL_ERROR_8057_DMP</TH><TD>The current command list is running.</TD></TR><TR><TH>GL_ERROR_8058_DMP</TH><TD>Running this function would cause the current command list command buffer or command request to exceed the maximum size.</TD></TR></TABLE></P></div>
50<h2>Revision History</h2>
51    <div class="section">
52      <dl class="history">
53        <dt>2010/04/02</dt>
54<dd>Initial version.<br />
55        </dd>
56      </dl>
57    </div>
58  <hr><p>CONFIDENTIAL</p></body>
59</html>