FlipBuffers()

Syntax

FlipBuffers()
Description
Flip the back and front buffers of the current screen. The invisible area is now visible and vice versa, which allowss to do a 'double-buffering' effect (flicker free graphical displays). A screen must have been opened with OpenScreen() or OpenWindowedScreen(). The way the buffer are flipped (with or without synchronization) is set by OpenScreen() or OpenWindowedScreen().

Parameters

None.

Return value

None.

Remarks

FlipBuffers() has to be called outside a StartDrawing() : ... : StopDrawing() program block.

FlipBuffers() must be called in each event loop on a fullscreen to handle events for joystick / keyboard" / mouse properly.

See Also

OpenScreen(), OpenWindowedScreen()

Supported OS

All

<- ExamineScreenModes() - Screen Index - IsScreenActive() ->