THREE.ClearPass=function(e,r){THREE.Pass.call(this),this.needsSwap=!1,this.clearColor=void 0!==e?e:0,this.clearAlpha=void 0!==r?r:0},THREE.ClearPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ClearPass,render:function(e,r,a,l,t){var s,o;this.clearColor&&(s=e.getClearColor().getHex(),o=e.getClearAlpha(),e.setClearColor(this.clearColor,this.clearAlpha)),e.setRenderTarget(this.renderToScreen?null:a),e.clear(),this.clearColor&&e.setClearColor(s,o)}});