AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.ClearScreen Method

Immediately clears the back buffer and depth buffer of all drawing and fills it with the chosen clear color set by SetClearColor.

Syntax
Pascal
class procedure ClearScreen; static;

This does not effect what is seen on screen. This allows you to draw some things to the backbuffer, use TAgkImage.ScreenShot to get a screen shot, and then ClearScreen to draw something else. 

For normal operation, you don't need (and should not) clear the screen yourself. 

TAgkScene

Copyright (c) 2012. All rights reserved.