Newer
Older
HuangJiPC / public / static / three / examples / jsm / renderers / WebGLDeferredRenderer.d.ts
@zhangdeliang zhangdeliang on 21 Jun 613 bytes update
import {
	Camera,
	Scene,
	Vector2,
	WebGLRenderer
} from '../../../src/Three';

export interface WebGLDeferredRendererParameters {
	antialias?: boolean;
	cacheKeepAlive?: boolean;
	height?: number;
	renderer?: WebGLRenderer;
	width?: number;
}

export class WebGLDeferredRenderer {

	constructor( parameters: WebGLDeferredRendererParameters );
	domElement: HTMLElement;
	forwardRendering: boolean;
	renderer: WebGLRenderer;

	enableLightPrePass( enabled: boolean ): void;
	render( scene: Scene, camera: Camera ): void;
	setAntialias( enabled: boolean ): void;
	setSize( width: number, height: number ): void;

}