Garry's Mod Wiki

GM:NeedsDepthPass

  boolean GM:NeedsDepthPass()

Description

Returning true in this hook will cause it to render depth buffers defined with render.GetResolvedFullFrameDepth.

Returns

1 boolean
Render depth buffer