Pass.d.ts 583 B

12345678910111213141516171819202122232425262728293031
  1. import {
  2. Material,
  3. WebGLRenderer,
  4. WebGLRenderTarget
  5. } from '../../../src/Three';
  6. export class Pass {
  7. constructor();
  8. enabled: boolean;
  9. needsSwap: boolean;
  10. clear: boolean;
  11. renderToScreen: boolean;
  12. setSize( width: number, height: number ): void;
  13. render( renderer: WebGLRenderer, writeBuffer: WebGLRenderTarget, readBuffer: WebGLRenderTarget, deltaTime: number, maskActive: boolean ): void;
  14. }
  15. export namespace Pass {
  16. class FullScreenQuad {
  17. constructor( material?: Material );
  18. render( renderer: WebGLRenderer ): void;
  19. dispose(): void;
  20. material: Material;
  21. }
  22. }