SMAAShader.d.ts 740 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import {
  2. Uniform
  3. } from '../../../src/Three';
  4. export const SMAAEdgesShader: {
  5. defines: {
  6. SMAA_THRESHOLD: string;
  7. },
  8. uniforms: {
  9. tDiffuse: Uniform;
  10. resolution: Uniform;
  11. };
  12. vertexShader: string;
  13. fragmentShader: string;
  14. };
  15. export const SMAAWeightsShader: {
  16. defines: {
  17. SMAA_MAX_SEARCH_STEPS: string;
  18. SMAA_AREATEX_MAX_DISTANCE: string;
  19. SMAA_AREATEX_PIXEL_SIZE: string;
  20. SMAA_AREATEX_SUBTEX_SIZE: string;
  21. },
  22. uniforms: {
  23. tDiffuse: Uniform;
  24. tArea: Uniform;
  25. tSearch: Uniform;
  26. resolution: Uniform;
  27. };
  28. vertexShader: string;
  29. fragmentShader: string;
  30. };
  31. export const SMAABlendShader: {
  32. uniforms: {
  33. tDiffuse: Uniform;
  34. tColor: Uniform;
  35. resolution: Uniform;
  36. };
  37. vertexShader: string;
  38. fragmentShader: string;
  39. };