Class AlphaUpscaler
Utility pass that rebuilds the alpha channel of an image produced by a color-only upscaler.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class AlphaUpscaler
Fields
defaultHistoryBlendFactor
Default history blend weight of the temporal alpha accumulation.
Declaration
public const float defaultHistoryBlendFactor = 0.85
Field Value
| Type | Description |
|---|---|
| float |
Methods
Execute(RenderGraph, ref Config)
Executes the alpha upscale pass using the provided configuration in the target render graph
Declaration
public static TextureHandle Execute(RenderGraph renderGraph, ref AlphaUpscaler.Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderGraph | renderGraph | render graph to execute the pass within |
| AlphaUpscaler.Config | config | configuration parameters for the pass |
Returns
| Type | Description |
|---|---|
| TextureHandle | Texture handle that contains the upscaled color with a valid alpha channel |