parse( input, onDone, onError, options ) {

		const writer = new GLTFWriter();
		const plugins = [];

		for ( let i = 0, il = this.pluginCallbacks.length; i < il; i ++ ) {

			plugins.push( this.pluginCallbacks[ i ]( writer ) );

		}

		writer.setPlugins( plugins );
		writer.setTextureUtils( this.textureUtils );
		writer.writeAsync( input, onDone, options ).catch( onError );

	}
Parses the given scenes and generates the glTF output.

@param {Scene|Array<Scene>} input - A scene or an array of scenes.
@param {GLTFExporter~OnDone} onDone - A callback function that is executed when the export has finished.
@param {GLTFExporter~OnError} onError - A callback function that is executed when an error happens.
@param {GLTFExporter~Options} options - options