Class ShaderUtils | Package Manager UI website
docs.unity.cn
    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 © 2019 Unity Technologies
    Generated by DocFX