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.
Returns
Example
Render the depth pass to the screen.
Output: 

Example: Depth buffer upgrade
This method allows you to increase the bit depth of the depth buffer. IMAGE_FORMAT_R32F does not work on Linux (dx 92). Also, 32-bit image formats do not work on Windows without D3D9EX.
Garry's Mod
Rust
Steamworks
Wiki Help