StandardShaderUtility.IsMrtkStandardShader(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 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.