Class ShaderUtils
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Syntax
[MovedFrom("UnityEngine.Rendering.LWRP")]
public static class ShaderUtils
Methods
GetEnumFromPath(String)
Declaration
public static ShaderPathID GetEnumFromPath(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path |
Returns
Type | Description |
---|---|
ShaderPathID |
GetShaderPath(ShaderPathID)
Declaration
public static string GetShaderPath(ShaderPathID id)
Parameters
Type | Name | Description |
---|---|---|
ShaderPathID | id |
Returns
Type | Description |
---|---|
String |
IsLWShader(Shader)
Declaration
public static bool IsLWShader(Shader shader)
Parameters
Type | Name | Description |
---|---|---|
Shader | shader |
Returns
Type | Description |
---|---|
Boolean |