UnityGame/Library/PackageCache/com.unity.render-pipelines.core/Documentation~/render-graph-system.md
2024-10-27 10:53:47 +03:00

1.5 KiB

The render graph system

The render graph system sits on top of Unity's Scriptable Render Pipeline (SRP). It allows you to author a custom SRP in a maintainable and modular way. Both Unity's High Definition Render Pipeline (HDRP) and Unity's Universal Render Pipeline (URP) use the render graph system.

You use the RenderGraph API to create a render graph. A render graph is a high-level representation of the custom SRP's render passes, which explicitly states how the render passes use resources.

Describing render passes in this way has two benefits: it simplifies render pipeline configuration, and it allows the render graph system to efficiently manage parts of the render pipeline, which can result in improved runtime performance. For more information on the benefits of the render graph system, see benefits of the render graph system.

To use the render graph system, you need to write your code in a different way to a regular custom SRP. For more information on how to write code for the render graph system, see writing a render pipeline.

For information on the technical principles behind the render graph system, see render graph fundamentals.

This section contains the following pages: