Warning: This site is under construction, most links will be broken.
LightX API -> lxgfx -> flip
Last modified on Tue, 10th Apr 2007 at 00:39 UTC by zippletlxgfx.flip
procedure flip;
Change the surface displayed on the video device to the next surface in the flipping chain. After this call, the primary surface will be a different surface (one previously displayed on the video device).
Use this call after you have finished drawing (and after a call to lxgfx.endframe) instead of outputframe if you are using a doublebuffering or triplebuffering scheme.
This call may return immediately especially with a triplebuffering scheme, if there is another surface ready in the flipping chain and the renderer+video device support delayed flips. Otherwise, this call will block while LightX waits for vblank using the method set by lxgfx.setvblankmode.
For more information, see LightX concepts.
Class: lxgfx