Documentation

Unity Engine

Download Unity

Unity Engine

renderingPath

The rendering path that should be used, if possible.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. Camera.renderingPath is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. To set the rendering path in the Universal Render Pipeline (URP), use the Rendering Path property of the Universal Renderer asset instead.
public RenderingPath renderingPath { get; set; }

Remarks

In some situations, it may not be possible to use the rendering path specified, In this case the renderer automatically uses a different path; for example, if the underlying GPU/platform does not support the requested one, or some other situation causes a fallback.
For this reason, we also provide the read-only property Camera.actualRenderingPath, which allows you to discover which path is actually being used.