Modifier

Partager via


StandardShaderUtility.IsMrtkStandardShader(Shader) Method

Definition

Checks if a shader is the Mixed Reality Toolkit/Standard shader.

public:
 static bool IsMrtkStandardShader(UnityEngine::Shader ^ shader);
public static bool IsMrtkStandardShader (UnityEngine.Shader shader);
static member IsMrtkStandardShader : UnityEngine.Shader -> bool
Public Shared Function IsMrtkStandardShader (shader As Shader) As Boolean

Parameters

shader
UnityEngine.Shader

The shader to check.

Returns

True if the shader is the Mixed Reality Toolkit/Standard shader.

Applies to