mathe/Library/PackageCache/com.unity.render-pipelines.core@14.0.8/Documentation~/render-graph-system.md
2024-09-20 20:30:10 +02:00

1.6 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. Unity's High Definition Render Pipeline (HDRP) uses 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.

Note: Render graph is currently experimental which means Unity might change its API during future development.

This section contains the following pages: