Clears the color and/or depth buffer of the rendering device before rendering traversal.
int32 ClearBuffers( int32 BufferFlags, Color ClearColor, float64 Depth )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | BufferFlags | Flags indicating which buffer(s) to clear. |
<Color> | ClearColor | A color to use as the background for the color buffer, if the color buffer flag is set. |
float64 | Depth | The reciprocal (1.0/w) depth value to clear the depth buffer to. A value of 0.0 indicates maximum depth, while 1.0 indicates the closest depth. |
None published. Please look for an example in the Simdify Scripting Language code base.