StandardShaderUtility.IsGraphicsToolsStandardShader(Shader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if a shader is the Graphics Tools/Standard or Standard Canvas shader.
public static bool IsGraphicsToolsStandardShader (UnityEngine.Shader shader);
static member IsGraphicsToolsStandardShader : UnityEngine.Shader -> bool
Public Shared Function IsGraphicsToolsStandardShader (shader As Shader) As Boolean
Parameters
- shader
- UnityEngine.Shader
The shader to check.
Returns
True if the shader is the shader.