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@12.1\\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
    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.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)