PosteffectsHandler

PosteffectsHandler

Handler for loading posteffects into engine

Constructor

new PosteffectsHandler()

Methods

_remove(ref)

Removes the posteffects, i e removes the composer from rendersystem.

Parameters:
Name Type Description
ref string

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

Creates/updates/removes a posteffectconfig

Parameters:
Name Type Description
ref string
config Object
options Object

_updateEffect(originalConfig, posteffects, options) → {RenderPass}

Finds the already created effect from the configs id or creates a new one and updates it
according to config

Parameters:
Name Type Description
originalConfig Object
posteffects Array.<RenderPass>

array of engine posteffects/Renderpasses

options Object