docs.unity.cn
    Show / Hide Table of Contents

    Enum ShaderPathID

    Options to get a shader path to URP shaders when calling ShaderUtils.GetShaderGUID(); ShaderUtils.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum ShaderPathID

    Fields

    Name Description Value
    Lit

    Use this for URP Lit shader.


    0
    SimpleLit

    Use this for URP Simple Lit shader.


    1
    Unlit

    Use this for URP Unlit shader.


    2
    TerrainLit

    Use this for URP Terrain Lit shader.


    3
    ParticlesLit

    Use this for URP Particles Lit shader.


    4
    ParticlesSimpleLit

    Use this for URP Particles Simple Lit shader.


    5
    ParticlesUnlit

    Use this for URP Particles Simple Unlit shader.


    6
    BakedLit

    Use this for URP Baked Lit shader.


    7
    SpeedTree7

    Use this for URP SpeedTree 7 shader.


    8
    SpeedTree7Billboard

    Use this for URP SpeedTree 7 Billboard shader.


    9
    SpeedTree8

    Use this for URP SpeedTree 8 shader.


    10
    ComplexLit

    Use this for URP Complex Lit shader.


    11
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 17 July 2023