mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Changed the file structure for ease of handling from tsd and added several utility classes.
This commit is contained in:
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
// Type definitions for ShaderPass.js
|
||||
// Project: https://github.com/mrdoob/three.js/blob/r68/examples/js/postprocessing/ShaderPass.js
|
||||
// Definitions by: Satoru Kimura <https://github.com/gyohk>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="./three.d.ts" />
|
||||
|
||||
declare module THREE {
|
||||
export class ShaderPass {
|
||||
constructor( shader: Shader, textureID?: string );
|
||||
|
||||
textureID: string;
|
||||
uniforms: any;
|
||||
material: ShaderMaterial;
|
||||
renderToScreen: boolean;
|
||||
enabled: boolean;
|
||||
needsSwap: boolean;
|
||||
clear: boolean;
|
||||
camera: Camera;
|
||||
scene: Scene;
|
||||
quad: Mesh;
|
||||
|
||||
render(renderer: WebGLRenderer, writeBuffer: WebGLRenderTarget, readBuffer: WebGLRenderTarget, delta: number): void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user