Class SupportedOnRendererAttribute
Defines the compatiblility with a set of renderer(s)
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class SupportedOnRendererAttribute : Attribute
Constructors
SupportedOnRendererAttribute(Type)
Sets a compatible renderer
Declaration
public SupportedOnRendererAttribute(Type renderer)
Parameters
Type | Name | Description |
---|---|---|
Type | renderer | The compatible renderer to set. |
SupportedOnRendererAttribute(params Type[])
Sets one or more compatible renderers
Declaration
public SupportedOnRendererAttribute(params Type[] renderers)
Parameters
Type | Name | Description |
---|---|---|
Type[] | renderers | The compatible renderer(s) to set. |
Properties
rendererTypes
Returns the compatible renderers
Declaration
public Type[] rendererTypes { get; }
Property Value
Type | Description |
---|---|
Type[] |