Class Texture2DParameter
A VolumeParameter that holds a 2D Texture
value.
Inherited Members
Namespace: UnityEngine.Rendering
Syntax
[Serializable]
public class Texture2DParameter : VolumeParameter<Texture>, IEquatable<VolumeParameter<Texture>>
Constructors
Texture2DParameter(Texture, Boolean)
Creates a new Texture2DParameter instance.
Declaration
public Texture2DParameter(Texture value, bool overrideState = false)
Parameters
Type | Name | Description |
---|---|---|
Texture | value | The initial value to store in the parameter. |
Boolean | overrideState | The initial override state for the parameter. |
Methods
GetHashCode()
Returns a hash code for the current object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code for the current object. |
Overrides
UnityEngine.Rendering.VolumeParameter<UnityEngine.Texture>.GetHashCode()