1234567891011121314151617181920212223 |
- /**
- * @author alteredq / http://alteredqualia.com/
- */
- THREE.RenderPass = function ( scene, camera ) {
- this.scene = scene;
- this.camera = camera;
- this.clear = true;
- this.needsSwap = false;
- };
- THREE.RenderPass.prototype = {
- render: function ( renderer, writeBuffer, readBuffer, delta ) {
- renderer.render( this.scene, this.camera, readBuffer, this.clear );
- }
- };
|