[Visual Basic] Overloads Public Sub Clear( _ ByVal ZDepth As Single, _ ByVal Stencil As Integer _ )
[C#] public void Clear( floatZDepth, intStencil );
Parameters
ZDepth
New z value that this method stores in the depth buffer. This parameter can be in the range of 0.0 through 1.0 (for z-based or w-based depth buffers). A value of 0.0 represents the nearest distance to the viewer; a value of 1.0 represents the farthest distance.
Stencil
Integer value to store in each stencil-buffer entry. This parameter can be in the range of 0 through 2n-1, where n is the bit depth of the stencil buffer.