GLBasic User Manual

Main sections

SHOWSCREEN

SHOWSCREEN



Shows the contents of the back buffer on the screen. The back buffer is then replaced with either the backbuffer replacement image (previously specified through commands like LOADBMP or USEASBMP) or black if no image has been configured.

When working in 3D, SHOWSCREEN will reset any X_ROTATION, X_MOVEMENT and X_SCALING settings.

Sample:
 
// Writing to the back buffer
PRINT "Hello World", 100, 100
// Showing the back buffer
SHOWSCREEN
MOUSEWAIT

See also...