docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PixelValidationChannels

    The channels used by DebugValidationMode.HighlightOutsideOfRange.

    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipeline.Universal.ShaderLibrary.dll
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@17.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
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)