docs.unity.cn
    Show / Hide Table of Contents

    Enum DebugVertexAttributeMode

    Debug mode for displaying vertex attributes interpolated from vertex to pixel shader.

    Namespace: UnityEngine.Rendering.Universal
    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 DebugVertexAttributeMode

    Fields

    Name Description Value
    None

    No vertex attribute debug.


    0
    Texcoord0

    Display texture coordinate 0.


    1
    Texcoord1

    Display texture coordinate 1.


    2
    Texcoord2

    Display texture coordinate 2.


    3
    Texcoord3

    Display texture coordinate 3.


    4
    Color

    Display vertex color.


    5
    Tangent

    Display tangent.


    6
    Normal

    Display normal.


    7
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023