docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpscalerOptions

    Base ScriptableObject for holding configuration data for a specific upscaler. Concrete implementations (e.g., DLSSOptions, FSR2Options) should inherit from this.

    Inheritance
    object
    Object
    ScriptableObject
    UpscalerOptions
    STPOptions
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetEntityId()
    Object.MemberwiseClone()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate<T>(T, InstantiateParameters)
    Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectsByType(Type)
    Object.FindObjectsByType(Type, FindObjectsInactive)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsByType<T>()
    Object.FindObjectsByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public class UpscalerOptions : ScriptableObject

    Properties

    applyReactiveMaskThreshold

    Set reactive mask value to zero or Reactive Mask Binary Value given the threshold.

    Declaration
    public bool applyReactiveMaskThreshold { get; }
    Property Value
    Type Description
    bool

    enableReactiveMaskPass

    Reactive mask generation pass is executed only if current upscaler supports reactive mask and this option is true.

    Declaration
    public bool enableReactiveMaskPass { get; }
    Property Value
    Type Description
    bool

    injectionPoint

    Determines at which stage in the render pipeline the upscaling pass is injected.

    Declaration
    public DynamicResolutionHandler.UpsamplerScheduleType injectionPoint { get; set; }
    Property Value
    Type Description
    DynamicResolutionHandler.UpsamplerScheduleType

    reactiveMaskBinaryValue

    The value that reactive mask will have if it passes the threshold.

    Declaration
    public float reactiveMaskBinaryValue { get; }
    Property Value
    Type Description
    float

    reactiveMaskScale

    Scale factor for reactive mask values. It is applied before thresholding.

    Declaration
    public float reactiveMaskScale { get; }
    Property Value
    Type Description
    float

    reactiveMaskThreshold

    Determines the threshold value for reactive mask values.

    Declaration
    public float reactiveMaskThreshold { get; }
    Property Value
    Type Description
    float

    reactiveMaskUseComponentMax

    Use max difference among R, G, B channels instead of length of delta of (R, G, B) when calculating reactivity.

    Declaration
    public bool reactiveMaskUseComponentMax { get; }
    Property Value
    Type Description
    bool

    resolutionMode

    Selects how the render resolution is determined for this upscaler. Only meaningful for upscalers that expose a quality mode (hasQualityMode); for the others it is dormant and the upscaler always behaves as CustomScaling.

    Declaration
    public UpscalerResolutionMode resolutionMode { get; set; }
    Property Value
    Type Description
    UpscalerResolutionMode

    upscalerId

    The ID of the upscaler associated with these options.

    Declaration
    public string upscalerId { get; set; }
    Property Value
    Type Description
    string

    Methods

    ValidateSerializedUpscalerOptionReferencesWithinRPAsset(ScriptableObject, SerializedProperty, IReadOnlyList<string>?)

    Validates and auto-populates the upscaler options list within a Render Pipeline Asset. It ensures that the selected upscalers, and only those, have a corresponding Options sub-asset.

    Declaration
    public static bool ValidateSerializedUpscalerOptionReferencesWithinRPAsset(ScriptableObject parentRPAsset, SerializedProperty optionsListProp, IReadOnlyList<string>? upscalerIds)
    Parameters
    Type Name Description
    ScriptableObject parentRPAsset

    The Render Pipeline Asset that will contain these options as sub-assets.

    SerializedProperty optionsListProp

    The SerializedProperty representing the list/array of UpscalerOptions.

    IReadOnlyList<string> upscalerIds

    IDs of the upscalers the asset selects. Entries that name no registered upscaler, or one without an options type, are ignored.

    Returns
    Type Description
    bool

    True if the property was modified (cleaned up or populated), false otherwise.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)