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>nngxFlush3DCommand</title> 8 </head> 9 <body> 10 <h1><CODE>nngxFlush3DCommand</CODE> Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14NNGX_APICALL void NNGX_APIENTRY nngxFlush3DCommand( 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">There is no return value. </div> 25 <h2>Description</h2> 26 <div class="section"> 27 <p>Issues a 3D execution command and flushes the accumulated 3D command buffer.</p><P> 28 A command to complete the loading of 3D commands is added to the 3D command buffer of bound command-list objects, and a 3D execution command is queued to the command requests. If commands are run as they are accumulated, all 3D commands up the split point created by this function are run. 29 </P><P> 30 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 3D execution command will be added. 31 </P><P> 32 The 3D command buffer must have at its end a command to complete the loading of 3D commands. This command to complete the loading of 3D commands is inserted at the end of the 3D command buffer even when functions like <CODE>glCopyTexImage2D</CODE> or <CODE>glClear</CODE> that require interruption of the 3D command buffer are called. 33 </P><P> 34 The following errors occur with this function. 35 <TABLE><TR><TH>GL_ERROR_8084_DMP</TH><TD><CODE>0</CODE> is bound to the current command list.</TD></TR><TR><TH>GL_ERROR_8085_DMP</TH><TD>The number of accumulated command requests has reached the maximum number of command requests.</TD></TR><TR><TH>GL_ERROR_8086_DMP</TH><TD>The accumulated 3D command buffer exceeds its maximum size when the command to complete the loading of 3D commands is added to the buffer.</TD></TR></TABLE></P></div> 36 <h2>Revision History</h2> 37 <div class="section"> 38 <dl class="history"> 39 <dt>2010/10/07</dt> 40 <dd>Initial version.<br /> 41 </dd> 42 </dl> 43 </div> 44 <hr><p>CONFIDENTIAL</p></body> 45</html>