Class ShaderUtils | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShaderUtils

    Inheritance
    System.Object
    ShaderUtils
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public static class ShaderUtils

    Methods

    GetEnumFromPath(String)

    Declaration
    public static ShaderPathID GetEnumFromPath(string path)
    Parameters
    Type Name Description
    System.String path
    Returns
    Type Description
    ShaderPathID

    GetShaderPath(ShaderPathID)

    Declaration
    public static string GetShaderPath(ShaderPathID id)
    Parameters
    Type Name Description
    ShaderPathID id
    Returns
    Type Description
    System.String

    IsLWShader(Shader)

    Declaration
    public static bool IsLWShader(Shader shader)
    Parameters
    Type Name Description
    Shader shader
    Returns
    Type Description
    System.Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023