docs.unity.cn
    Show / Hide Table of Contents

    Class TextureParameter

    A VolumeParameter that holds a Texture value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Texture>
    TextureParameter
    Inherited Members
    VolumeParameter<Texture>.m_Value
    VolumeParameter<Texture>.value
    VolumeParameter<Texture>.Interp(Texture, Texture, Single)
    VolumeParameter<Texture>.Override(Texture)
    VolumeParameter<Texture>.SetValue(VolumeParameter)
    VolumeParameter<Texture>.ToString()
    VolumeParameter<Texture>.Equals(VolumeParameter<Texture>)
    VolumeParameter<Texture>.Equals(Object)
    VolumeParameter<Texture>.Clone()
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class TextureParameter : VolumeParameter<Texture>, ICloneable, IEquatable<VolumeParameter<Texture>>

    Constructors

    TextureParameter(Texture, Boolean)

    Creates a new TextureParameter instance.

    Declaration
    public TextureParameter(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.

    TextureParameter(Texture, TextureDimension, Boolean)

    Creates a new TextureParameter instance.

    Declaration
    public TextureParameter(Texture value, TextureDimension dimension, bool overrideState = false)
    Parameters
    Type Name Description
    Texture value

    The initial value to store in the parameter.

    TextureDimension dimension

    The accepted dimension of textures.

    Boolean overrideState

    The initial override state for the parameter.

    Fields

    dimension

    The accepted dimension of textures.

    Declaration
    public TextureDimension dimension
    Field Value
    Type Description
    TextureDimension

    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()

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023