docs.unity3d.com
    Show / Hide Table of Contents

    Class Texture2DParameter

    A VolumeParameter that holds a 2D Texture value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Texture>
    Texture2DParameter
    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.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    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()

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023