Class ScriptableRendererData
Class ScriptableRendererData contains resources for a ScriptableRenderer.
ScriptableRenderer
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[Icon("UnityEngine/Rendering/RenderPipelineAsset Icon")]
public abstract class ScriptableRendererData : ScriptableObject
필드
| 이름 | 설명 |
|---|---|
| debugShaders | Container for shader resources used by Rendering Debugger. |
| probeVolumeResources | Probe volume resources used by URP |
프로퍼티
| 이름 | 설명 |
|---|---|
| rendererFeatures | List of additional render pass features for this renderer. |
| useNativeRenderPass | Specifies whether the renderer should use Native Render Pass. |
메서드
| 이름 | 설명 |
|---|---|
| Create() | Creates the instance of the ScriptableRenderer. |
| OnEnable() | This function is called when the object becomes enabled and active. |
| OnValidate() | Editor-only function that Unity calls when the script is loaded or a value changes in the Inspector. |
| SetDirty() | Use SetDirty when changing seeings in the ScriptableRendererData. It will rebuild the render passes with the new data. |