Edytuj

Udostępnij za pośrednictwem


StandardShaderUtility Class

Definition

Mixed Reality standard shader utility class with commonly used constants, types and convenience methods.

public ref class StandardShaderUtility abstract sealed
public static class StandardShaderUtility
type StandardShaderUtility = class
Public Class StandardShaderUtility
Inheritance
StandardShaderUtility

Fields

MrtkStandardShaderName

The string name of the Mixed Reality Toolkit/Standard shader which can be used to identify a shader or for shader lookups.

Properties

MrtkStandardShader

Returns an instance of the Mixed Reality Toolkit/Standard shader.

Methods

IsMrtkStandardShader(Shader)

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

IsUsingMrtkStandardShader(Material)

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

Applies to