Class DisallowMultipleRendererFeature
Prevents ScriptableRendererFeatures of same type to be added more than once to a Scriptable Renderer.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class DisallowMultipleRendererFeature : Attribute
Constructors
DisallowMultipleRendererFeature(string)
Constructor for the attribute to prevent ScriptableRendererFeatures of same type to be added more than once to a Scriptable Renderer.
Declaration
public DisallowMultipleRendererFeature(string customTitle = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | customTitle | Sets the custom title for renderer feature. |
Properties
customTitle
Set the custom title for renderer feature.
Declaration
public string customTitle { get; }
Property Value
| Type | Description |
|---|---|
| string |