AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkScene.SetClearColor Method (Byte, Byte, Byte)

Sets the clear color to use when clearing the back buffer.

Syntax
Pascal
class procedure SetClearColor(const Red: Byte; const Green: Byte; const Blue: Byte); overload; static;
Parameters 
Description 
const Red: Byte 
the red component of the clear color. 
const Green: Byte 
the green component of the clear color. 
const Blue: Byte 
the blue component of the clear color. 

The clear color will remain active for subsequent scenes.

Copyright (c) 2012. All rights reserved.