Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.defer.then(() => {
const pass = new RenderPass(this.scene, this.camera.native);
// TODO: Support for effects.
this.composer.addPass(pass);
this.currentPass = pass;
});
this.defer.then(() => {
const pass = new RenderPass(this.scene, this.camera.native);
// TODO: Support for effects.
this.composer.addPass(pass);
this.currentPass = pass;
});