C3DScreen::Clear

Top  Previous  Next

Syntax:

 

Clear(UINT  clr)

 

Purpose:
Clears the back buffer of the 3D surface to the specified color.

 

Parameters:

clr - The color in RGBA format.

 

Returned value(s):

None.

 

Application:

s.Clear(RGBA(0,0,255,255))
s.BeginScene(c)

 

Class Hierarchy

C3DScreen

 

Additional Info:

This method should be called before BeginScene.

 

See Also:

BeginScene, RGBA