StandardShaderUtility.IsMrtkStandardShader(Shader) Method
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 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
- shader
- UnityEngine.Shader
The shader to check.
True if the shader is the Mixed Reality Toolkit/Standard shader.