Class Texture2DParameter
A VolumeParameter that holds a 2D Texture
value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class Texture2DParameter : VolumeParameter<Texture>, ICloneable, IEquatable<VolumeParameter<Texture>>
Constructors
Texture2DParameter(Texture, bool)
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. |
bool | 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 |
---|---|
int | A hash code for the current object. |