Class ScriptableRendererData
Class ScriptableRendererData
contains resources for a ScriptableRenderer
.
ScriptableRenderer
Inherited Members
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[Icon("UnityEngine/Rendering/RenderPipelineAsset Icon")]
public abstract class ScriptableRendererData : ScriptableObject
Fields
Name | Description |
---|---|
debugShaders | Container for shader resources used by Rendering Debugger. |
probeVolumeResources | Probe volume resources used by URP |
Properties
Name | Description |
---|---|
rendererFeatures | List of additional render pass features for this renderer. |
useNativeRenderPass | Specifies whether the renderer should use Native Render Pass. |
Methods
Name | Description |
---|---|
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. |