Click or drag to resize
D3D11ControlClear Method
Clears the back buffer and optionally the depth- and stencil buffers.

Namespace: SlimDX.Windows
Assembly: SlimDX.D3D11Control (in SlimDX.D3D11Control.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void Clear(
	Color color,
	bool clearDepthStencil = true
)

Parameters

color
Type: System.DrawingColor
The color to fill the back buffer with.
clearDepthStencil (Optional)
Type: SystemBoolean
true to clear the depth- and stencil buffers; otherwise false.
See Also