Class UpscalerUnsupportedBuildTargetAttribute
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class UpscalerUnsupportedBuildTargetAttribute : Attribute
Constructors
UpscalerUnsupportedBuildTargetAttribute(params BuildTarget[])
Declares the BuildTargets the upscaler does not support. Set the graphicsDeviceTypes property to rule out
particular GraphicsDeviceTypes on those targets.
Declaration
public UpscalerUnsupportedBuildTargetAttribute(params BuildTarget[] buildTargets)
Parameters
| Type | Name | Description |
|---|---|---|
| BuildTarget[] | buildTargets | The BuildTargets the upscaler does not support. Leave unset to apply to any target. |
Properties
buildTargets
The BuildTargets the upscaler does not support. Leave unset to apply to any target.
Declaration
public BuildTarget[] buildTargets { get; }
Property Value
| Type | Description |
|---|---|
| BuildTarget[] |
graphicsDeviceTypes
The GraphicsDeviceTypes the upscaler does not support on the specified buildTargets. Leave
unset to rule out the build targets entirely rather than particular APIs on them.
Declaration
public GraphicsDeviceType[] graphicsDeviceTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| GraphicsDeviceType[] |