docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpscalerSupportedBuildTargetAttribute

    Inheritance
    object
    Attribute
    UpscalerSupportedBuildTargetAttribute
    Inherited Members
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
    public sealed class UpscalerSupportedBuildTargetAttribute : Attribute

    Constructors

    UpscalerSupportedBuildTargetAttribute(params BuildTarget[])

    Declares the BuildTargets the upscaler supports. Set the graphicsDeviceTypes property to narrow the declaration to particular GraphicsDeviceTypes on those targets.

    Declaration
    public UpscalerSupportedBuildTargetAttribute(params BuildTarget[] buildTargets)
    Parameters
    Type Name Description
    BuildTarget[] buildTargets

    The BuildTargets the upscaler supports. Leave unset to support any target.

    Properties

    buildTargets

    The BuildTargets the upscaler supports. Leave unset to support any target.

    Declaration
    public BuildTarget[] buildTargets { get; }
    Property Value
    Type Description
    BuildTarget[]

    graphicsDeviceTypes

    The GraphicsDeviceTypes the upscaler supports on the specified buildTargets. Leave unset to support any API.

    Declaration
    public GraphicsDeviceType[] graphicsDeviceTypes { get; set; }
    Property Value
    Type Description
    GraphicsDeviceType[]

    Methods

    IsBuildTargetSupported(Type, BuildTarget)

    Returns whether an upscaler supports a build target.

    Declaration
    public static bool IsBuildTargetSupported(Type upscalerType, BuildTarget buildTarget)
    Parameters
    Type Name Description
    Type upscalerType

    The upscaler type to read the declarations from.

    BuildTarget buildTarget

    The build target to check.

    Returns
    Type Description
    bool

    IsGraphicsAPISupported(Type, BuildTarget, GraphicsDeviceType)

    Returns whether an upscaler supports a graphics API on a build target. Returns false when the build target itself is unsupported.

    Declaration
    public static bool IsGraphicsAPISupported(Type upscalerType, BuildTarget buildTarget, GraphicsDeviceType graphicsDeviceType)
    Parameters
    Type Name Description
    Type upscalerType

    The upscaler type to read the declarations from.

    BuildTarget buildTarget

    The build target to check.

    GraphicsDeviceType graphicsDeviceType

    The graphics API to check.

    Returns
    Type Description
    bool

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