Garry's Mod Wiki

Revision Difference

render.ClearDepth#551704

<function name="ClearDepth" parent="render" type="libraryfunc"> <description> Resets the depth buffer. ⤶ <bug issue="3317">This function also clears the stencil buffer. Use <page>render.Clear</page> in the meantime.</bug>⤶ </description> <realm>Client and Menu</realm> <args>⤶ <arg type="boolean" name="clearStencil" default="true">Whether to also clear the stencil buffer.</arg>⤶ </args>⤶ </function>