MCPcopy Create free account
hub / github.com/pmndrs/postprocessing / handleEvent

Method handleEvent

src/passes/EffectPass.js:656–666  ·  view source on GitHub ↗

* Handles events. * * @param {Event} event - An event.

(event)

Source from the content-addressed store, hash-verified

654 */
655
656 handleEvent(event) {
657
658 switch(event.type) {
659
660 case "change":
661 this.recompile();
662 break;
663
664 }
665
666 }
667
668}

Callers 1

constructorMethod · 0.95

Calls 1

recompileMethod · 0.95

Tested by

no test coverage detected