Class ShaderUtils
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public static class ShaderUtils
Methods
GetEnumFromPath(string)
Declaration
public static ShaderPathID GetEnumFromPath(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetShaderGUID(ShaderPathID)
Returns shader from shader path id.
Declaration
public static string GetShaderGUID(ShaderPathID id)
Parameters
Returns
GetShaderPath(ShaderPathID)
Declaration
public static string GetShaderPath(ShaderPathID id)
Parameters
Returns
IsLWShader(Shader)
Declaration
public static bool IsLWShader(Shader shader)
Parameters
Type |
Name |
Description |
Shader |
shader |
|
Returns