ShaderHandler

ShaderHandler

Handler for loading shaders into engine

Constructor

new ShaderHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ConfigHandler constructor arguments.

Methods

_update(ref, config, options) → {Promise}

Adds/updates/removes a shader
Currently it is not possible to update a shader, so we create a new one every time

Parameters:
Name Type Description
ref string
config Object
options Object