Garry's Mod Wiki

render.UpdateFullScreenDepthTexture

  render.UpdateFullScreenDepthTexture()

Description

Updates the texture returned by render.GetFullScreenDepthTexture.

Silently fails if render.SupportsPixelShaders_2_0 returns false.