COpenGL::DrawEnd![]()
void DrawEnd( BOOL SwapBuffers = TRUE );
Parameters
| SwapBuffers |
Specifies whether the front and back buffers will be swapped with the DrawEnd function call. If the parameter is TRUE then the buffers will be swapped. Otherwise the buffers will be not swapped. |
Remarks
The DrawEnd method function ends its corresponding DrawBegin call. The DrawEnd function should be called when the drawing into the object window is finished.
Each call to DrawBegin must have a corresponding call to the DrawEnd method function. It is possible to call the DrawBegin function when another object’s DrawBegin call is not ‘finished’ with the corresponding DrawEnd call. However, in this case, only the last object’s DrawEnd call restores the rendering context active before the first DrawBegin call. The previous such object’s DrawEnd calls have no effect.
See Also
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |