Class ForwardRenderer
Default renderer for Universal RP. This renderer is supported on all Universal RP supported platforms. It uses a classic forward rendering strategy with per-object light culling.
구현
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public sealed class ForwardRenderer : ScriptableRenderer, IDisposable
생성자
이름 | 설명 |
---|---|
ForwardRenderer(ForwardRendererData) |
메서드
이름 | 설명 |
---|---|
Dispose(bool) | |
FinishRendering(CommandBuffer) | Called upon finishing rendering the camera stack. You can release any resources created by the renderer here. |
Setup(ScriptableRenderContext, ref RenderingData) | Configures the render passes that will execute for this renderer. This method is called per-camera every frame. |
SetupCullingParameters(ref ScriptableCullingParameters, ref CameraData) | Override this method to configure the culling parameters for the renderer. You can use this to configure if lights should be culled per-object or the maximum shadow distance for example. |
SetupLights(ScriptableRenderContext, ref RenderingData) | Override this method to implement the lighting setup for the renderer. You can use this to compute and upload light CBUFFER for example. |