Tesla Graphics Engine Documentation (January 2012)
Clear Method (options, color, depth, stencil)
TeslaTesla.Direct3D10.Graphics.ImplementationD3D10SwapChainImplementationClear(ClearOptions, Color, Single, Int32)
Sets the swapchain's backbuffer as the active render target and clears it.
Declaration Syntax
C#
public override void Clear(
	ClearOptions options,
	Color color,
	float depth,
	int stencil
)
Parameters
options (ClearOptions)
Clear option flags defining which buffer to clear.
color (Color)
Color to clear the color buffer to
depth (Single)
Depth value to clear the depth buffer to
stencil (Int32)
Stencil value to clear the stencil buffer to

Assembly: Tesla.Direct3D10 (Module: Tesla.Direct3D10) Version: 0.5.0.0 (0.5.0.0)