Newer
Older
HuangJiPC / public / static / three / examples / jsm / loaders / OBJLoader2Parallel.d.ts
@zhangdeliang zhangdeliang on 21 Jun 616 bytes update
import {
	LoadingManager
} from '../../../src/Three';
import { OBJLoader2 } from './OBJLoader2';

import { WorkerExecutionSupport } from './obj2/worker/main/WorkerExecutionSupport';

export class OBJLoader2Parallel extends OBJLoader2 {

	constructor( manager?: LoadingManager );
	preferJsmWorker: boolean;
	executeParallel: boolean;
	workerExecutionSupport: WorkerExecutionSupport;

	setPreferJsmWorker( preferJsmWorker: boolean ): this;
	setExecuteParallel( executeParallel: boolean ): this;
	getWorkerExecutionSupport(): object;
	buildWorkerCode(): object;

	// @ts-ignore
	parse( content: ArrayBuffer ): void;

}