Garry's Mod Wiki

render.ClearDepth

  render.ClearDepth( boolean clearStencil = true )

Description

Resets the depth buffer.

Arguments

1 boolean clearStencil = true
Whether to also clear the stencil buffer.