docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpscalerReactiveMask.ShaderConstants

    Shader constant ids used to set parameters of reactive mask shader.

    Inheritance
    object
    UpscalerReactiveMask.ShaderConstants
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public static class UpscalerReactiveMask.ShaderConstants

    Fields

    _ColorPostAlpha

    Camera color texture after rendering transparency.

    Declaration
    public static readonly int _ColorPostAlpha
    Field Value
    Type Description
    int

    _ColorPreAlpha

    Camera color texture before rendering transparency.

    Declaration
    public static readonly int _ColorPreAlpha
    Field Value
    Type Description
    int

    _ReactiveBinaryValue

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

    Declaration
    public static readonly int _ReactiveBinaryValue
    Field Value
    Type Description
    int

    _ReactiveFlags

    Bitflags for reactive mask generation. See UpscalerReactiveMask.ReactiveFlags.

    Declaration
    public static readonly int _ReactiveFlags
    Field Value
    Type Description
    int

    _ReactiveScale

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

    Declaration
    public static readonly int _ReactiveScale
    Field Value
    Type Description
    int

    _ReactiveThreshold

    Threshold value when thresholding is enabled via reactive flags.

    Declaration
    public static readonly int _ReactiveThreshold
    Field Value
    Type Description
    int

    _StencilMask

    Stencil mask to set when generating stencil reactive mask.

    Declaration
    public static readonly int _StencilMask
    Field Value
    Type Description
    int

    _StencilRef

    Stencil reference value used when generating stencil reactive mask.

    Declaration
    public static readonly int _StencilRef
    Field Value
    Type Description
    int
    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)