{"version":3,"sources":["jsdelivr-header.js","/npm/three@0.132.0/examples/js/postprocessing/Pass.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,CCNA,WA4BC,MAAM,EAAU,IAAI,MAAM,oBAAsB,EAAG,EAAG,GAAK,EAAG,EAAG,GAG3D,EAAY,IAAI,MAAM,eAE5B,EAAU,aAAc,WAAY,IAAI,MAAM,uBAAwB,EAAI,EAAG,EAAG,GAAK,GAAK,EAAG,EAAG,GAAK,EAAG,GAAK,IAE7G,EAAU,aAAc,KAAM,IAAI,MAAM,uBAAwB,CAAE,EAAG,EAAG,EAAG,EAAG,EAAG,GAAK,IAoCtF,MAAM,eAlCN,MAEC,WAAA,CAAa,GAEZ,KAAK,MAAQ,IAAI,MAAM,KAAM,EAAW,EAEzC,CAEA,OAAA,GAEC,KAAK,MAAM,SAAS,SAErB,CAEA,MAAA,CAAQ,GAEP,EAAS,OAAQ,KAAK,MAAO,EAE9B,CAEA,YAAI,GAEH,OAAO,KAAK,MAAM,QAEnB,CAEA,YAAI,CAAU,GAEb,KAAK,MAAM,SAAW,CAEvB,GAKD,MAAM,KAtEN,MAEC,WAAA,GAGC,KAAK,SAAU,EAEf,KAAK,WAAY,EAEjB,KAAK,OAAQ,EAEb,KAAK,gBAAiB,CAEvB,CAEA,OAAA,GAAW,CAEX,MAAA,GAEC,QAAQ,MAAO,6DAEhB,EAmDA,CA1EF","file":"/npm/three@0.132.0/examples/js/postprocessing/Pass.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/three@0.132.0/examples/js/postprocessing/Pass.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","( function () {\n\n\tclass Pass {\n\n\t\tconstructor() {\n\n\t\t\t// if set to true, the pass is processed by the composer\n\t\t\tthis.enabled = true; // if set to true, the pass indicates to swap read and write buffer after rendering\n\n\t\t\tthis.needsSwap = true; // if set to true, the pass clears its buffer before rendering\n\n\t\t\tthis.clear = false; // if set to true, the result of the pass is rendered to screen. This is set automatically by EffectComposer.\n\n\t\t\tthis.renderToScreen = false;\n\n\t\t}\n\n\t\tsetSize() {}\n\n\t\trender() {\n\n\t\t\tconsole.error( 'THREE.Pass: .render() must be implemented in derived pass.' );\n\n\t\t}\n\n\t} // Helper for passes that need to fill the viewport with a single quad.\n\n\n\tconst _camera = new THREE.OrthographicCamera( - 1, 1, 1, - 1, 0, 1 ); // https://github.com/mrdoob/three.js/pull/21358\n\n\n\tconst _geometry = new THREE.BufferGeometry();\n\n\t_geometry.setAttribute( 'position', new THREE.Float32BufferAttribute( [ - 1, 3, 0, - 1, - 1, 0, 3, - 1, 0 ], 3 ) );\n\n\t_geometry.setAttribute( 'uv', new THREE.Float32BufferAttribute( [ 0, 2, 0, 0, 2, 0 ], 2 ) );\n\n\tclass FullScreenQuad {\n\n\t\tconstructor( material ) {\n\n\t\t\tthis._mesh = new THREE.Mesh( _geometry, material );\n\n\t\t}\n\n\t\tdispose() {\n\n\t\t\tthis._mesh.geometry.dispose();\n\n\t\t}\n\n\t\trender( renderer ) {\n\n\t\t\trenderer.render( this._mesh, _camera );\n\n\t\t}\n\n\t\tget material() {\n\n\t\t\treturn this._mesh.material;\n\n\t\t}\n\n\t\tset material( value ) {\n\n\t\t\tthis._mesh.material = value;\n\n\t\t}\n\n\t}\n\n\tTHREE.FullScreenQuad = FullScreenQuad;\n\tTHREE.Pass = Pass;\n\n} )();\n"]}