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>Parameters</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 render command request and flushes the accumulated 3D command buffer.</p><P> 28A command to complete the loading of 3D commands is added to the 3D command buffer of the bound command list object, and a render command request is queued to the command requests. If commands are run while they are accumulating, all 3D commands up the split point created by this function are run. 29 </P><P> 30If, 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 render command request is added. 31 </P><P> 32The 3D command buffer must have at its end a command to complete the loading of 3D commands. This command completes the loading of 3D commands even when functions that require interruption of the 3D command buffer are called (for example, <CODE>glCopyTexImage2D</CODE> or <CODE>glClear</CODE>). 33 </P><P> 34This function generates the following errors. 35<TABLE><TR><TH><CODE>GL_ERROR_8084_DMP</CODE></TH><TD><CODE>0</CODE> is bound to the current command list.</TD></TR><TR><TH><CODE>GL_ERROR_8085_DMP</CODE></TH><TD>The number of accumulated command requests has reached the maximum number of command requests.</TD></TR><TR><TH><CODE>GL_ERROR_8086_DMP</CODE></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>See Also</h2> 37 <div class="section"> 38<p class="reference"><span><CODE>nngxFlush3DCommandPartially</CODE></span><br /> </p> 39 </div> 40<h2>Revision History</h2> 41 <div class="section"> 42 <dl class="history"> 43 <dt>2011/10/04</dt> 44<dd>Added <B>See Also</B> section.<br /> 45 </dd> 46 <dt>2010/10/07</dt> 47<dd>Initial version.<br /> 48 </dd> 49 </dl> 50 </div> 51 <hr><p>CONFIDENTIAL</p></body> 52</html>