HalftonePass.d.ts 517 B

123456789101112131415161718192021222324252627
  1. import {
  2. ShaderMaterial,
  3. } from '../../../src/Three';
  4. import { Pass } from './Pass';
  5. export interface HalftonePassParameters {
  6. shape?: number;
  7. radius?: number;
  8. rotateR?: number;
  9. rotateB?: number;
  10. rotateG?: number;
  11. scatter?: number;
  12. blending?: number;
  13. blendingMode?: number;
  14. greyscale?: boolean;
  15. disable?: boolean;
  16. }
  17. export class HalftonePass extends Pass {
  18. constructor( width: number, height: number, params: HalftonePassParameters );
  19. uniforms: object;
  20. material: ShaderMaterial;
  21. fsQuad: object;
  22. }