Garry's Mod Wiki

render.GetFullScreenDepthTexture

  ITexture render.GetFullScreenDepthTexture()

Description

We advise against using this. It may be changed or removed in a future update. Alias of render.GetPowerOfTwoTexture in practice.

Returns the full screen depth texture.

Returns

1 ITexture
The _rt_FullFrameDepth texture, which is an alias of _rt_PowerOfTwoFB on PC.