Difference between revisions of "GLAPI/glFinish"

From OpenGL Wiki
Jump to: navigation, search
m (Renaming category: 'GL 4 API Synchronization' to 'Core API Ref Synchronization'.)
m (Bot: Adding better formatting.)
Line 8: Line 8:
 
== Function Definition ==
 
== Function Definition ==
  
   void '''glFinish'''(''void'');
+
   void '''glFinish'''({{param|void}});
  
 
== Description ==
 
== Description ==
Line 20: Line 20:
 
== See Also ==
 
== See Also ==
  
[[GLAPI/glFlush|glFlush]]
+
{{apifunc|glFlush}}
  
 
== Copyright ==
 
== Copyright ==

Revision as of 01:18, 29 April 2012

glFinish
Core in version 4.6
Core since version 1.0

glFinish: block until all GL execution is complete

Function Definition

 void glFinish(void​);

Description

glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, all changes to connection state, and all changes to the frame buffer contents.

Notes

glFinish requires a round trip to the server.

See Also

glFlush

Copyright

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.