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>nngxRunCmdlist</title>
8  </head>
9  <body>
10<h1><CODE>nngxRunCmdlist</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14NNGX_APICALL void NNGX_APIENTRY nngxRunCmdlist(
15     void
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21<p>None.</p>
22    </div>
23<h2>Return Values</h2>
24<div class="section">No values are returned. </div>
25<h2>Description</h2>
26    <div class="section">
27<p>Runs the current command list.</p><P>
28Sequentially runs the commands accumulated in the current command list. Calls to this function are ignored when 0 is bound to the current command list. Calls to this function are ignored when the command list is running and other command-list objects are bound to the current list. Commands can be accumulated in a command list that is running.
29            </P><P>
30The call to this function will be ignored if it has been called after <CODE>nngxStopCmdlist</CODE> has been specified to stop the running of commands but before all issued commands have stopped. To verify that all issued commands have completed, call the <CODE>nngxGetCmdlistParameteri</CODE>function with NN_GX_CMDLIST_IS_RUNNING specified for <B>pname </B>, or use the <CODE>nngxWaitCmdlistDone</CODE> function to wait until the commands have finished running.
31            </P><P>
32This function generates the following errors.
33<TABLE><TR><TH>GL_ERROR_8009_DMP</TH><TD>The bound command list does not have a region allocated for the command buffer or a command request.</TD></TR></TABLE></P></div>
34<h2>Revision History</h2>
35    <div class="section">
36      <dl class="history">
37        <dt>2010/10/07</dt>
38<dd>Added a method for verifying that issued commands have finished running.
39        </dd>
40        <dt>2010/03/12</dt>
41<dd>Added extended error code(s).<br />
42        </dd>
43        <dt>2010/01/07</dt>
44<dd>Initial version.<br />
45        </dd>
46      </dl>
47    </div>
48  <hr><p>CONFIDENTIAL</p></body>
49</html>