Documentation

Unity Engine

Unity Engine

Depth

The render request outputs a depth value.
Read time 1 minuteLast updated a day ago

Definition

Warning
Removed. The RenderRequest struct is obsolete, use the function overload with RequestData of supported types such as RenderPipeline.StandardRequest
Depth = 2

Remarks

Outputs a buffer that maps the the depth value at each pixel. The buffer will be generated from the camera used in the request.