Enum PixelValidationChannels
The channels used by DebugValidationMode.HighlightOutsideOfRange.
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@15.0\\Packages\\com.unity.render-pipelines.universal\\ShaderLibrary\\Debug\\DebugViewEnums.cs")]
public enum PixelValidationChannels
참고
When "RGB" is used, the pixel's RGB value is first converted to a luminance value. Individual channels (R, G, B, and A) are tested individually against the range.
필드
이름 | 설명 |
---|---|
A | Validate the alpha channel value. |
B | Validate the blue channel value. |
G | Validate the green channel value. |
R | Validate the red channel value. |
RGB | Use luminance calculated from RGB channels as the value to validate. |