render.GetResolvedFullFrameDepth
Description
Returns the _rt_ResolvedFullFrameDepth texture for SSAO depth. It will only be updated if GM:NeedsDepthPass returns true. Depth is written using the Shaders/DepthWrite by rendering scene a second time, using SSAO_DepthPass function.
Returns
Example
Render the depth pass to the screen.
Output: 

Garry's Mod
Rust
Steamworks
Wiki Help