ShaderSet class

ShaderSet class

Shader programs for each kind of materials

The ShaderSet type exposes the following members:

Constructors

ConstructorDescription
initConstruct the instance of ShaderSet

Properties

PropertyDescription
lambertGets or sets the shader that used to render the lambert material
phongGets or sets the shader that used to render the phong material
pbrGets or sets the shader that used to render the PBR material
fallbackGets or sets the fallback shader when required shader is unavailable

See Also