public void Clear ( DepthStencilSurface surface, float depth = 1, byte stencil = 0 ) { lock (deviceContext) { deviceContext.ClearDepthStencilView( surface.DSV, DepthStencilClearFlags.Depth|DepthStencilClearFlags.Stencil, depth, stencil ); } }