Class DisallowMultipleRendererFeature
Prevents ScriptableRendererFeatures of same type to be added more than once to a Scriptable Renderer.
Inherited Members
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
Namespace: UnityEngine.Rendering.Universal
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class DisallowMultipleRendererFeature : Attribute, _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 |