Clears the back buffer and optionally the depth- and stencil buffers.
Namespace: SlimDX.WindowsAssembly: SlimDX.D3D11Control (in SlimDX.D3D11Control.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic 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