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. |