| 123456789101112131415161718192021222324252627 |
- import { WebGLRenderTarget } from './WebGLRenderTarget.js';
- class WebGLMultisampleRenderTarget extends WebGLRenderTarget {
- constructor( width, height, options ) {
- super( width, height, options );
- this.samples = 4;
- }
- copy( source ) {
- super.copy.call( this, source );
- this.samples = source.samples;
- return this;
- }
- }
- WebGLMultisampleRenderTarget.prototype.isWebGLMultisampleRenderTarget = true;
- export { WebGLMultisampleRenderTarget };
|