docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetShaderPath

    GetShaderPath(ShaderPathID)

    Retrieves a shader path for the given URP Shader Path ID.

    Declaration
    public static string GetShaderPath(ShaderPathID id)
    Parameters
    Type Name Description
    ShaderPathID id

    The URP Shader Path ID.

    Returns
    Type Description
    string

    The path to the URP shader.

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