docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEnumFromPath

    GetEnumFromPath(string)

    Retrieves a URP Shader Path ID from a path given.

    Declaration
    public static ShaderPathID GetEnumFromPath(string path)
    Parameters
    Type Name Description
    string path

    The path to the shader.

    Returns
    Type Description
    ShaderPathID

    The URP Shader Path ID.

    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)