📄 flush.html
字号:
<HTML>
<BODY>
<PRE>
<STRONG>NAME</STRONG>
<STRONG>glFlush</STRONG> - force execution of GL commands in finite time
<STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>
void <STRONG>glFlush</STRONG>( void )
<STRONG>DESCRIPTION</STRONG>
Different GL implementations buffer commands in several
different locations, including network buffers and the
graphics accelerator itself. <STRONG>glFlush</STRONG> empties all of these
buffers, causing all issued commands to be executed as
quickly as they are accepted by the actual rendering engine.
Though this execution may not be completed in any particular
time period, it does complete in finite time.
Because any GL program might be executed over a network, or
on an accelerator that buffers commands, all programs should
call <STRONG>glFlush</STRONG> whenever they count on having all of their
previously issued commands completed. For example, call
<STRONG>glFlush</STRONG> before waiting for user input that depends on the
generated image.
<STRONG>NOTES</STRONG>
<STRONG>glFlush</STRONG> can return at any time. It does not wait until the
execution of all previously issued GL commands is complete.
<STRONG>ERRORS</STRONG>
<STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glFlush</STRONG> is executed
between the execution of <STRONG>glBegin</STRONG> and the corresponding
execution of <STRONG>glEnd</STRONG>.
<STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>
<STRONG>glFinish</STRONG>
</PRE>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -