UNPKG

three

Version:

JavaScript 3D library

28 lines (14 loc) 460 B
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 };