Class ScriptableRendererFeature
Class ScriptableRendererFeature extends ScriptableRenderer with additional features.
Inheritance
System.Object
ScriptableRendererFeature
Namespace: UnityEngine.Rendering.LWRP
Syntax
public abstract class ScriptableRendererFeature : ScriptableObject
Methods
AddRenderPasses(ScriptableRenderer, ref RenderingData)
Injects one or multiple ScriptableRenderPass in the renderer.
Declaration
public abstract void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptableRenderer | renderer | |
| RenderingData | renderingData | Rendering state. Use this to setup render passes. |
Create()
Initializes this feature's resources.
Declaration
public abstract void Create()