{}!Google Tag Manager end}} Enum PixelValidationChannels | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Enum PixelValidationChannels

    The channels used by DebugValidationMode.HighlightOutsideOfRange.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@14.0\\Packages\\com.unity.render-pipelines.universal\\ShaderLibrary\\Debug\\DebugViewEnums.cs")]
    public enum PixelValidationChannels
    Remarks

    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.

    Fields

    Name Description Value
    RGB

    Use luminance calculated from RGB channels as the value to validate.


    0
    R

    Validate the red channel value.


    1
    G

    Validate the green channel value.


    2
    B

    Validate the blue channel value.


    3
    A

    Validate the alpha channel value.


    4
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)