Garry's Mod Wiki

render.ClearDepth

  render.ClearDepth()

Description

Resets the depth buffer.

This function also clears the stencil buffer. Use render.Clear in the meantime.

Issue Tracker: 3317