Class ShaderUtils
Various utility functions for shaders in URP.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public static class ShaderUtils
Methods
Name | Description |
---|---|
GetEnumFromPath(string) | Retrieves a URP Shader Path ID from a path given. |
GetShaderGUID(ShaderPathID) | Returns a GUID for a URP shader from Shader Path ID. |
GetShaderPath(ShaderPathID) | Retrieves a shader path for the given URP Shader Path ID. |
IsLWShader(Shader) | Checks if a given shader is a URP shader or not. |