Class EnumParameter<T>
Generic Enum volume parameter.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public sealed class EnumParameter<T> : VolumeParameter<T>, ICloneable, IEquatable<VolumeParameter<T>>
Type Parameters
| Name | Description |
|---|---|
| T | The type of value to hold in this parameter. |
Constructors
EnumParameter(T, bool)
Creates a new EnumParameter instance.
Declaration
public EnumParameter(T value, bool overrideState = false)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The initial value to store in the parameter. |
| bool | overrideState | The initial override state for the parameter. |