Clears the back buffer.
Declaration Syntax
C# |
public void Clear( ClearOptions options, Color color, float depth, int stencil )
Parameters
- options (ClearOptions)
- Specifies which buffer to clear.
- color (Color)
- Color value to clear the target to
- depth (Single)
- Depth value to clear the depth buffer to
- stencil (Int32)
- Stencil value to clear the stencil buffer to
Remarks
The use of a swapchain differs slightly from using render targets. When a swapchain's
targets are set to the device, other render targets (off screen) can be set. To make
the backbuffer active again, simply set null to the renderer.
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)