Class ShaderUtils
Namespace: UnityEngine.Rendering.Universal
Syntax
public static class ShaderUtils : object
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 |