Class UpscalerReactiveMask.ShaderConstants
Shader constant ids used to set parameters of reactive mask shader.
Inherited Members
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 |