@postermywall/fabricjs-2 6.0.0-rc2.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/dist/index.js +229 -491
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/index.min.mjs +1 -1
  7. package/dist/index.min.mjs.map +1 -1
  8. package/dist/index.mjs +229 -491
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/index.node.cjs +229 -491
  11. package/dist/index.node.cjs.map +1 -1
  12. package/dist/index.node.mjs +229 -491
  13. package/dist/index.node.mjs.map +1 -1
  14. package/dist/package.json.min.mjs +1 -1
  15. package/dist/package.json.mjs +1 -1
  16. package/dist/src/canvas/Canvas.d.ts.map +1 -1
  17. package/dist/src/canvas/Canvas.min.mjs +1 -1
  18. package/dist/src/canvas/Canvas.min.mjs.map +1 -1
  19. package/dist/src/canvas/Canvas.mjs +8 -9
  20. package/dist/src/canvas/Canvas.mjs.map +1 -1
  21. package/dist/src/canvas/SelectableCanvas.d.ts +1 -1
  22. package/dist/src/canvas/SelectableCanvas.d.ts.map +1 -1
  23. package/dist/src/canvas/SelectableCanvas.min.mjs +1 -1
  24. package/dist/src/canvas/SelectableCanvas.min.mjs.map +1 -1
  25. package/dist/src/canvas/SelectableCanvas.mjs +1 -1
  26. package/dist/src/canvas/SelectableCanvas.mjs.map +1 -1
  27. package/dist/src/canvas/StaticCanvas.d.ts +4 -4
  28. package/dist/src/canvas/StaticCanvas.d.ts.map +1 -1
  29. package/dist/src/canvas/StaticCanvas.min.mjs +1 -1
  30. package/dist/src/canvas/StaticCanvas.min.mjs.map +1 -1
  31. package/dist/src/canvas/StaticCanvas.mjs +0 -13
  32. package/dist/src/canvas/StaticCanvas.mjs.map +1 -1
  33. package/dist/src/color/Color.d.ts +1 -0
  34. package/dist/src/color/Color.d.ts.map +1 -1
  35. package/dist/src/color/Color.min.mjs +1 -1
  36. package/dist/src/color/Color.min.mjs.map +1 -1
  37. package/dist/src/color/Color.mjs +3 -1
  38. package/dist/src/color/Color.mjs.map +1 -1
  39. package/dist/src/filters/BaseFilter.d.ts +16 -23
  40. package/dist/src/filters/BaseFilter.d.ts.map +1 -1
  41. package/dist/src/filters/BaseFilter.min.mjs +1 -1
  42. package/dist/src/filters/BaseFilter.min.mjs.map +1 -1
  43. package/dist/src/filters/BaseFilter.mjs +24 -41
  44. package/dist/src/filters/BaseFilter.mjs.map +1 -1
  45. package/dist/src/filters/BlendColor.d.ts +13 -24
  46. package/dist/src/filters/BlendColor.d.ts.map +1 -1
  47. package/dist/src/filters/BlendColor.min.mjs +1 -1
  48. package/dist/src/filters/BlendColor.min.mjs.map +1 -1
  49. package/dist/src/filters/BlendColor.mjs +1 -25
  50. package/dist/src/filters/BlendColor.mjs.map +1 -1
  51. package/dist/src/filters/BlendImage.d.ts +18 -19
  52. package/dist/src/filters/BlendImage.d.ts.map +1 -1
  53. package/dist/src/filters/BlendImage.min.mjs +1 -1
  54. package/dist/src/filters/BlendImage.min.mjs.map +1 -1
  55. package/dist/src/filters/BlendImage.mjs +13 -24
  56. package/dist/src/filters/BlendImage.mjs.map +1 -1
  57. package/dist/src/filters/Blur.d.ts +10 -12
  58. package/dist/src/filters/Blur.d.ts.map +1 -1
  59. package/dist/src/filters/Blur.min.mjs +1 -1
  60. package/dist/src/filters/Blur.min.mjs.map +1 -1
  61. package/dist/src/filters/Blur.mjs +5 -14
  62. package/dist/src/filters/Blur.mjs.map +1 -1
  63. package/dist/src/filters/Boilerplate.d.ts +11 -13
  64. package/dist/src/filters/Boilerplate.d.ts.map +1 -1
  65. package/dist/src/filters/Brightness.d.ts +10 -12
  66. package/dist/src/filters/Brightness.d.ts.map +1 -1
  67. package/dist/src/filters/Brightness.min.mjs +1 -1
  68. package/dist/src/filters/Brightness.min.mjs.map +1 -1
  69. package/dist/src/filters/Brightness.mjs +4 -16
  70. package/dist/src/filters/Brightness.mjs.map +1 -1
  71. package/dist/src/filters/Canvas2dFilterBackend.d.ts +1 -1
  72. package/dist/src/filters/Canvas2dFilterBackend.d.ts.map +1 -1
  73. package/dist/src/filters/Canvas2dFilterBackend.min.mjs.map +1 -1
  74. package/dist/src/filters/Canvas2dFilterBackend.mjs.map +1 -1
  75. package/dist/src/filters/ColorMatrix.d.ts +17 -15
  76. package/dist/src/filters/ColorMatrix.d.ts.map +1 -1
  77. package/dist/src/filters/ColorMatrix.min.mjs +1 -1
  78. package/dist/src/filters/ColorMatrix.min.mjs.map +1 -1
  79. package/dist/src/filters/ColorMatrix.mjs +7 -27
  80. package/dist/src/filters/ColorMatrix.mjs.map +1 -1
  81. package/dist/src/filters/ColorMatrixFilters.d.ts +63 -497
  82. package/dist/src/filters/ColorMatrixFilters.d.ts.map +1 -1
  83. package/dist/src/filters/ColorMatrixFilters.min.mjs +1 -1
  84. package/dist/src/filters/ColorMatrixFilters.min.mjs.map +1 -1
  85. package/dist/src/filters/ColorMatrixFilters.mjs +13 -8
  86. package/dist/src/filters/ColorMatrixFilters.mjs.map +1 -1
  87. package/dist/src/filters/Composed.d.ts +11 -10
  88. package/dist/src/filters/Composed.d.ts.map +1 -1
  89. package/dist/src/filters/Composed.min.mjs +1 -1
  90. package/dist/src/filters/Composed.min.mjs.map +1 -1
  91. package/dist/src/filters/Composed.mjs +7 -12
  92. package/dist/src/filters/Composed.mjs.map +1 -1
  93. package/dist/src/filters/Contrast.d.ts +10 -12
  94. package/dist/src/filters/Contrast.d.ts.map +1 -1
  95. package/dist/src/filters/Contrast.min.mjs +1 -1
  96. package/dist/src/filters/Contrast.min.mjs.map +1 -1
  97. package/dist/src/filters/Contrast.mjs +6 -17
  98. package/dist/src/filters/Contrast.mjs.map +1 -1
  99. package/dist/src/filters/Convolute.d.ts +11 -14
  100. package/dist/src/filters/Convolute.d.ts.map +1 -1
  101. package/dist/src/filters/Convolute.min.mjs +1 -1
  102. package/dist/src/filters/Convolute.min.mjs.map +1 -1
  103. package/dist/src/filters/Convolute.mjs +1 -15
  104. package/dist/src/filters/Convolute.mjs.map +1 -1
  105. package/dist/src/filters/Gamma.d.ts +17 -14
  106. package/dist/src/filters/Gamma.d.ts.map +1 -1
  107. package/dist/src/filters/Gamma.min.mjs +1 -1
  108. package/dist/src/filters/Gamma.min.mjs.map +1 -1
  109. package/dist/src/filters/Gamma.mjs +20 -24
  110. package/dist/src/filters/Gamma.mjs.map +1 -1
  111. package/dist/src/filters/Grayscale.d.ts +8 -11
  112. package/dist/src/filters/Grayscale.d.ts.map +1 -1
  113. package/dist/src/filters/Grayscale.min.mjs +1 -1
  114. package/dist/src/filters/Grayscale.min.mjs.map +1 -1
  115. package/dist/src/filters/Grayscale.mjs +2 -14
  116. package/dist/src/filters/Grayscale.mjs.map +1 -1
  117. package/dist/src/filters/HueRotation.d.ts +11 -5
  118. package/dist/src/filters/HueRotation.d.ts.map +1 -1
  119. package/dist/src/filters/HueRotation.min.mjs +1 -1
  120. package/dist/src/filters/HueRotation.min.mjs.map +1 -1
  121. package/dist/src/filters/HueRotation.mjs +10 -5
  122. package/dist/src/filters/HueRotation.mjs.map +1 -1
  123. package/dist/src/filters/Invert.d.ts +10 -13
  124. package/dist/src/filters/Invert.d.ts.map +1 -1
  125. package/dist/src/filters/Invert.min.mjs +1 -1
  126. package/dist/src/filters/Invert.min.mjs.map +1 -1
  127. package/dist/src/filters/Invert.mjs +2 -15
  128. package/dist/src/filters/Invert.mjs.map +1 -1
  129. package/dist/src/filters/Noise.d.ts +9 -20
  130. package/dist/src/filters/Noise.d.ts.map +1 -1
  131. package/dist/src/filters/Noise.min.mjs +1 -1
  132. package/dist/src/filters/Noise.min.mjs.map +1 -1
  133. package/dist/src/filters/Noise.mjs +4 -27
  134. package/dist/src/filters/Noise.mjs.map +1 -1
  135. package/dist/src/filters/Pixelate.d.ts +8 -12
  136. package/dist/src/filters/Pixelate.d.ts.map +1 -1
  137. package/dist/src/filters/Pixelate.min.mjs +1 -1
  138. package/dist/src/filters/Pixelate.min.mjs.map +1 -1
  139. package/dist/src/filters/Pixelate.mjs +2 -16
  140. package/dist/src/filters/Pixelate.mjs.map +1 -1
  141. package/dist/src/filters/RemoveColor.d.ts +12 -23
  142. package/dist/src/filters/RemoveColor.d.ts.map +1 -1
  143. package/dist/src/filters/RemoveColor.min.mjs +1 -1
  144. package/dist/src/filters/RemoveColor.min.mjs.map +1 -1
  145. package/dist/src/filters/RemoveColor.mjs +2 -25
  146. package/dist/src/filters/RemoveColor.mjs.map +1 -1
  147. package/dist/src/filters/Resize.d.ts +14 -30
  148. package/dist/src/filters/Resize.d.ts.map +1 -1
  149. package/dist/src/filters/Resize.min.mjs +1 -1
  150. package/dist/src/filters/Resize.min.mjs.map +1 -1
  151. package/dist/src/filters/Resize.mjs +3 -30
  152. package/dist/src/filters/Resize.mjs.map +1 -1
  153. package/dist/src/filters/Saturation.d.ts +9 -12
  154. package/dist/src/filters/Saturation.d.ts.map +1 -1
  155. package/dist/src/filters/Saturation.min.mjs +1 -1
  156. package/dist/src/filters/Saturation.min.mjs.map +1 -1
  157. package/dist/src/filters/Saturation.mjs +8 -20
  158. package/dist/src/filters/Saturation.mjs.map +1 -1
  159. package/dist/src/filters/Vibrance.d.ts +10 -13
  160. package/dist/src/filters/Vibrance.d.ts.map +1 -1
  161. package/dist/src/filters/Vibrance.min.mjs +1 -1
  162. package/dist/src/filters/Vibrance.min.mjs.map +1 -1
  163. package/dist/src/filters/Vibrance.mjs +6 -18
  164. package/dist/src/filters/Vibrance.mjs.map +1 -1
  165. package/dist/src/filters/WebGLFilterBackend.d.ts +1 -1
  166. package/dist/src/filters/WebGLFilterBackend.d.ts.map +1 -1
  167. package/dist/src/filters/WebGLFilterBackend.min.mjs.map +1 -1
  168. package/dist/src/filters/WebGLFilterBackend.mjs.map +1 -1
  169. package/dist/src/filters/shaders/blendImage.d.ts +1 -0
  170. package/dist/src/filters/shaders/blendImage.d.ts.map +1 -1
  171. package/dist/src/filters/shaders/blendImage.min.mjs +1 -1
  172. package/dist/src/filters/shaders/blendImage.min.mjs.map +1 -1
  173. package/dist/src/filters/shaders/blendImage.mjs +2 -1
  174. package/dist/src/filters/shaders/blendImage.mjs.map +1 -1
  175. package/dist/src/filters/typedefs.d.ts +22 -0
  176. package/dist/src/filters/typedefs.d.ts.map +1 -1
  177. package/dist/src/parser/elements_parser.d.ts +1 -1
  178. package/dist/src/parser/elements_parser.d.ts.map +1 -1
  179. package/dist/src/parser/elements_parser.min.mjs.map +1 -1
  180. package/dist/src/parser/elements_parser.mjs.map +1 -1
  181. package/dist/src/shapes/ActiveSelection.d.ts +1 -1
  182. package/dist/src/shapes/ActiveSelection.d.ts.map +1 -1
  183. package/dist/src/shapes/ActiveSelection.min.mjs +1 -1
  184. package/dist/src/shapes/ActiveSelection.min.mjs.map +1 -1
  185. package/dist/src/shapes/ActiveSelection.mjs +13 -10
  186. package/dist/src/shapes/ActiveSelection.mjs.map +1 -1
  187. package/dist/src/shapes/Group.d.ts +9 -0
  188. package/dist/src/shapes/Group.d.ts.map +1 -1
  189. package/dist/src/shapes/Group.min.mjs +1 -1
  190. package/dist/src/shapes/Group.min.mjs.map +1 -1
  191. package/dist/src/shapes/Group.mjs +10 -1
  192. package/dist/src/shapes/Group.mjs.map +1 -1
  193. package/dist/src/shapes/Image.d.ts +4 -4
  194. package/dist/src/shapes/Image.d.ts.map +1 -1
  195. package/dist/src/shapes/Image.min.mjs.map +1 -1
  196. package/dist/src/shapes/Image.mjs.map +1 -1
  197. package/dist/src/shapes/Object/InteractiveObject.d.ts +3 -0
  198. package/dist/src/shapes/Object/InteractiveObject.d.ts.map +1 -1
  199. package/dist/src/shapes/Object/InteractiveObject.min.mjs +1 -1
  200. package/dist/src/shapes/Object/InteractiveObject.min.mjs.map +1 -1
  201. package/dist/src/shapes/Object/InteractiveObject.mjs +3 -1
  202. package/dist/src/shapes/Object/InteractiveObject.mjs.map +1 -1
  203. package/dist/src/shapes/Object/Object.d.ts +1 -16
  204. package/dist/src/shapes/Object/Object.d.ts.map +1 -1
  205. package/dist/src/shapes/Object/Object.min.mjs +1 -1
  206. package/dist/src/shapes/Object/Object.min.mjs.map +1 -1
  207. package/dist/src/shapes/Object/Object.mjs +9 -10
  208. package/dist/src/shapes/Object/Object.mjs.map +1 -1
  209. package/dist/src/shapes/Object/StackedObject.d.ts +8 -15
  210. package/dist/src/shapes/Object/StackedObject.d.ts.map +1 -1
  211. package/dist/src/shapes/Object/StackedObject.min.mjs +1 -1
  212. package/dist/src/shapes/Object/StackedObject.min.mjs.map +1 -1
  213. package/dist/src/shapes/Object/StackedObject.mjs +11 -21
  214. package/dist/src/shapes/Object/StackedObject.mjs.map +1 -1
  215. package/dist/src/shapes/Path.d.ts +2 -2
  216. package/dist/src/shapes/Path.d.ts.map +1 -1
  217. package/dist/src/shapes/Path.min.mjs.map +1 -1
  218. package/dist/src/shapes/Path.mjs +2 -2
  219. package/dist/src/shapes/Path.mjs.map +1 -1
  220. package/dist/src/shapes/Text/TextSVGExportMixin.d.ts +1 -1
  221. package/dist/src/shapes/Text/TextSVGExportMixin.d.ts.map +1 -1
  222. package/dist/src/shapes/Text/TextSVGExportMixin.min.mjs.map +1 -1
  223. package/dist/src/shapes/Text/TextSVGExportMixin.mjs.map +1 -1
  224. package/dist/src/util/misc/objectEnlive.d.ts +2 -2
  225. package/dist/src/util/misc/objectEnlive.d.ts.map +1 -1
  226. package/dist/src/util/misc/objectEnlive.min.mjs.map +1 -1
  227. package/dist/src/util/misc/objectEnlive.mjs.map +1 -1
  228. package/package.json +2 -2
  229. package/src/canvas/Canvas.ts +6 -9
  230. package/src/canvas/SelectableCanvas.ts +2 -2
  231. package/src/canvas/StaticCanvas.ts +4 -18
  232. package/src/color/Color.ts +2 -1
  233. package/src/color/color.test.ts +6 -0
  234. package/src/filters/BaseFilter.ts +45 -51
  235. package/src/filters/BlendColor.ts +13 -35
  236. package/src/filters/BlendImage.ts +26 -40
  237. package/src/filters/Blur.ts +13 -20
  238. package/src/filters/Boilerplate.ts +13 -22
  239. package/src/filters/Brightness.ts +12 -21
  240. package/src/filters/Canvas2dFilterBackend.ts +1 -1
  241. package/src/filters/ColorMatrix.ts +29 -34
  242. package/src/filters/ColorMatrixFilters.ts +15 -9
  243. package/src/filters/Composed.ts +26 -16
  244. package/src/filters/Contrast.ts +15 -23
  245. package/src/filters/Convolute.ts +11 -23
  246. package/src/filters/Gamma.ts +32 -24
  247. package/src/filters/Grayscale.ts +8 -19
  248. package/src/filters/HueRotation.ts +21 -11
  249. package/src/filters/Invert.ts +11 -22
  250. package/src/filters/Noise.ts +11 -30
  251. package/src/filters/Pixelate.ts +9 -22
  252. package/src/filters/RemoveColor.ts +21 -35
  253. package/src/filters/Resize.ts +20 -44
  254. package/src/filters/Saturation.ts +16 -27
  255. package/src/filters/Vibrance.ts +14 -24
  256. package/src/filters/WebGLFilterBackend.ts +1 -1
  257. package/src/filters/shaders/blendImage.ts +12 -0
  258. package/src/filters/typedefs.ts +23 -0
  259. package/src/parser/elements_parser.ts +1 -1
  260. package/src/shapes/ActiveSelection.ts +8 -4
  261. package/src/shapes/Group.ts +16 -1
  262. package/src/shapes/Image.ts +8 -6
  263. package/src/shapes/Object/InteractiveObject.ts +3 -1
  264. package/src/shapes/Object/Object.ts +10 -35
  265. package/src/shapes/Object/StackedObject.ts +28 -44
  266. package/src/shapes/Path.ts +4 -4
  267. package/src/shapes/Text/TextSVGExportMixin.ts +1 -1
  268. package/src/util/misc/objectEnlive.ts +12 -2
@@ -1,537 +1,103 @@
1
- export declare function createColorMatrixFilter(key: string, matrix: number[]): {
2
- new ({ type, ...options }?: Record<string, any>): {
3
- matrix: number[];
4
- colorsOnly: boolean;
5
- setOptions({ matrix, ...options }: Record<string, any>): void;
6
- getFragmentSource(): string;
7
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
8
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
9
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
10
- readonly type: string;
11
- vertexSource: string;
12
- mainParameter?: keyof any | undefined;
13
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
14
- program: WebGLProgram;
15
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
16
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
17
- };
18
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
19
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
20
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
21
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
22
- isNeutralState(options?: any): boolean;
23
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
24
- getCacheKey(): string;
25
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
26
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
27
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
28
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
29
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
30
- program: WebGLProgram;
31
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
32
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
33
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
34
- program: WebGLProgram;
35
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
36
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
37
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
38
- type: string;
39
- }) | (() => {
40
- type: string;
41
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
42
- type: string;
43
- }) | (() => {
44
- type: string;
45
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
46
- setMainParameter(value: any): void;
47
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
48
- toObject(): {
49
- type: string;
50
- };
51
- toJSON(): {
52
- type: string;
53
- };
54
- };
1
+ import { ColorMatrix } from './ColorMatrix';
2
+ import type { TMatColorMatrix } from './typedefs';
3
+ type FixedFiltersOwnProps = {
4
+ colorsOnly: boolean;
5
+ };
6
+ export declare function createColorMatrixFilter(key: string, matrix: TMatColorMatrix): {
7
+ new ({ type, ...options }?: {
8
+ type?: undefined;
9
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
55
10
  type: string;
56
11
  defaults: {
57
- /**
58
- * Lock the matrix export for this kind of static, parameter less filters.
59
- */
60
- mainParameter: undefined;
61
- matrix: number[];
62
- type?: string | undefined;
63
- vertexSource?: string | undefined;
64
- colorsOnly?: boolean | undefined;
12
+ matrix: TMatColorMatrix;
13
+ colorsOnly: boolean;
65
14
  };
66
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
15
+ uniformLocations: string[];
16
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
67
17
  };
68
18
  export declare const Brownie: {
69
- new ({ type, ...options }?: Record<string, any>): {
70
- matrix: number[];
71
- colorsOnly: boolean;
72
- setOptions({ matrix, ...options }: Record<string, any>): void;
73
- getFragmentSource(): string;
74
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
75
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
76
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
77
- readonly type: string;
78
- vertexSource: string;
79
- mainParameter?: keyof any | undefined;
80
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
81
- program: WebGLProgram;
82
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
83
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
84
- };
85
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
86
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
87
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
88
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
89
- isNeutralState(options?: any): boolean;
90
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
91
- getCacheKey(): string;
92
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
93
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
94
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
95
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
96
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
97
- program: WebGLProgram;
98
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
99
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
100
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
101
- program: WebGLProgram;
102
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
103
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
104
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
105
- type: string;
106
- }) | (() => {
107
- type: string;
108
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
109
- type: string;
110
- }) | (() => {
111
- type: string;
112
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
113
- setMainParameter(value: any): void;
114
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
115
- toObject(): {
116
- type: string;
117
- };
118
- toJSON(): {
119
- type: string;
120
- };
121
- };
19
+ new ({ type, ...options }?: {
20
+ type?: undefined;
21
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
122
22
  type: string;
123
23
  defaults: {
124
- /**
125
- * Lock the matrix export for this kind of static, parameter less filters.
126
- */
127
- mainParameter: undefined;
128
- matrix: number[];
129
- type?: string | undefined;
130
- vertexSource?: string | undefined;
131
- colorsOnly?: boolean | undefined;
24
+ matrix: TMatColorMatrix;
25
+ colorsOnly: boolean;
132
26
  };
133
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
27
+ uniformLocations: string[];
28
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
134
29
  };
135
30
  export declare const Vintage: {
136
- new ({ type, ...options }?: Record<string, any>): {
137
- matrix: number[];
138
- colorsOnly: boolean;
139
- setOptions({ matrix, ...options }: Record<string, any>): void;
140
- getFragmentSource(): string;
141
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
142
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
143
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
144
- readonly type: string;
145
- vertexSource: string;
146
- mainParameter?: keyof any | undefined;
147
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
148
- program: WebGLProgram;
149
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
150
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
151
- };
152
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
153
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
154
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
155
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
156
- isNeutralState(options?: any): boolean;
157
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
158
- getCacheKey(): string;
159
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
160
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
161
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
162
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
163
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
164
- program: WebGLProgram;
165
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
166
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
167
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
168
- program: WebGLProgram;
169
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
170
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
171
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
172
- type: string;
173
- }) | (() => {
174
- type: string;
175
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
176
- type: string;
177
- }) | (() => {
178
- type: string;
179
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
180
- setMainParameter(value: any): void;
181
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
182
- toObject(): {
183
- type: string;
184
- };
185
- toJSON(): {
186
- type: string;
187
- };
188
- };
31
+ new ({ type, ...options }?: {
32
+ type?: undefined;
33
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
189
34
  type: string;
190
35
  defaults: {
191
- /**
192
- * Lock the matrix export for this kind of static, parameter less filters.
193
- */
194
- mainParameter: undefined;
195
- matrix: number[];
196
- type?: string | undefined;
197
- vertexSource?: string | undefined;
198
- colorsOnly?: boolean | undefined;
36
+ matrix: TMatColorMatrix;
37
+ colorsOnly: boolean;
199
38
  };
200
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
39
+ uniformLocations: string[];
40
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
201
41
  };
202
42
  export declare const Kodachrome: {
203
- new ({ type, ...options }?: Record<string, any>): {
204
- matrix: number[];
205
- colorsOnly: boolean;
206
- setOptions({ matrix, ...options }: Record<string, any>): void;
207
- getFragmentSource(): string;
208
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
209
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
210
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
211
- readonly type: string;
212
- vertexSource: string;
213
- mainParameter?: keyof any | undefined;
214
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
215
- program: WebGLProgram;
216
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
217
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
218
- };
219
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
220
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
221
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
222
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
223
- isNeutralState(options?: any): boolean;
224
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
225
- getCacheKey(): string;
226
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
227
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
228
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
229
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
230
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
231
- program: WebGLProgram;
232
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
233
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
234
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
235
- program: WebGLProgram;
236
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
237
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
238
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
239
- type: string;
240
- }) | (() => {
241
- type: string;
242
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
243
- type: string;
244
- }) | (() => {
245
- type: string;
246
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
247
- setMainParameter(value: any): void;
248
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
249
- toObject(): {
250
- type: string;
251
- };
252
- toJSON(): {
253
- type: string;
254
- };
255
- };
43
+ new ({ type, ...options }?: {
44
+ type?: undefined;
45
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
256
46
  type: string;
257
47
  defaults: {
258
- /**
259
- * Lock the matrix export for this kind of static, parameter less filters.
260
- */
261
- mainParameter: undefined;
262
- matrix: number[];
263
- type?: string | undefined;
264
- vertexSource?: string | undefined;
265
- colorsOnly?: boolean | undefined;
48
+ matrix: TMatColorMatrix;
49
+ colorsOnly: boolean;
266
50
  };
267
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
51
+ uniformLocations: string[];
52
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
268
53
  };
269
54
  export declare const Technicolor: {
270
- new ({ type, ...options }?: Record<string, any>): {
271
- matrix: number[];
272
- colorsOnly: boolean;
273
- setOptions({ matrix, ...options }: Record<string, any>): void;
274
- getFragmentSource(): string;
275
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
276
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
277
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
278
- readonly type: string;
279
- vertexSource: string;
280
- mainParameter?: keyof any | undefined;
281
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
282
- program: WebGLProgram;
283
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
284
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
285
- };
286
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
287
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
288
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
289
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
290
- isNeutralState(options?: any): boolean;
291
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
292
- getCacheKey(): string;
293
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
294
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
295
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
296
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
297
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
298
- program: WebGLProgram;
299
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
300
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
301
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
302
- program: WebGLProgram;
303
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
304
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
305
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
306
- type: string;
307
- }) | (() => {
308
- type: string;
309
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
310
- type: string;
311
- }) | (() => {
312
- type: string;
313
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
314
- setMainParameter(value: any): void;
315
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
316
- toObject(): {
317
- type: string;
318
- };
319
- toJSON(): {
320
- type: string;
321
- };
322
- };
55
+ new ({ type, ...options }?: {
56
+ type?: undefined;
57
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
323
58
  type: string;
324
59
  defaults: {
325
- /**
326
- * Lock the matrix export for this kind of static, parameter less filters.
327
- */
328
- mainParameter: undefined;
329
- matrix: number[];
330
- type?: string | undefined;
331
- vertexSource?: string | undefined;
332
- colorsOnly?: boolean | undefined;
60
+ matrix: TMatColorMatrix;
61
+ colorsOnly: boolean;
333
62
  };
334
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
63
+ uniformLocations: string[];
64
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
335
65
  };
336
66
  export declare const Polaroid: {
337
- new ({ type, ...options }?: Record<string, any>): {
338
- matrix: number[];
339
- colorsOnly: boolean;
340
- setOptions({ matrix, ...options }: Record<string, any>): void;
341
- getFragmentSource(): string;
342
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
343
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
344
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
345
- readonly type: string;
346
- vertexSource: string;
347
- mainParameter?: keyof any | undefined;
348
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
349
- program: WebGLProgram;
350
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
351
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
352
- };
353
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
354
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
355
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
356
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
357
- isNeutralState(options?: any): boolean;
358
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
359
- getCacheKey(): string;
360
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
361
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
362
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
363
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
364
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
365
- program: WebGLProgram;
366
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
367
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
368
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
369
- program: WebGLProgram;
370
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
371
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
372
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
373
- type: string;
374
- }) | (() => {
375
- type: string;
376
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
377
- type: string;
378
- }) | (() => {
379
- type: string;
380
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
381
- setMainParameter(value: any): void;
382
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
383
- toObject(): {
384
- type: string;
385
- };
386
- toJSON(): {
387
- type: string;
388
- };
389
- };
67
+ new ({ type, ...options }?: {
68
+ type?: undefined;
69
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
390
70
  type: string;
391
71
  defaults: {
392
- /**
393
- * Lock the matrix export for this kind of static, parameter less filters.
394
- */
395
- mainParameter: undefined;
396
- matrix: number[];
397
- type?: string | undefined;
398
- vertexSource?: string | undefined;
399
- colorsOnly?: boolean | undefined;
72
+ matrix: TMatColorMatrix;
73
+ colorsOnly: boolean;
400
74
  };
401
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
75
+ uniformLocations: string[];
76
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
402
77
  };
403
78
  export declare const Sepia: {
404
- new ({ type, ...options }?: Record<string, any>): {
405
- matrix: number[];
406
- colorsOnly: boolean;
407
- setOptions({ matrix, ...options }: Record<string, any>): void;
408
- getFragmentSource(): string;
409
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
410
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
411
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
412
- readonly type: string;
413
- vertexSource: string;
414
- mainParameter?: keyof any | undefined;
415
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
416
- program: WebGLProgram;
417
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
418
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
419
- };
420
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
421
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
422
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
423
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
424
- isNeutralState(options?: any): boolean;
425
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
426
- getCacheKey(): string;
427
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
428
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
429
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
430
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
431
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
432
- program: WebGLProgram;
433
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
434
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
435
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
436
- program: WebGLProgram;
437
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
438
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
439
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
440
- type: string;
441
- }) | (() => {
442
- type: string;
443
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
444
- type: string;
445
- }) | (() => {
446
- type: string;
447
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
448
- setMainParameter(value: any): void;
449
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
450
- toObject(): {
451
- type: string;
452
- };
453
- toJSON(): {
454
- type: string;
455
- };
456
- };
79
+ new ({ type, ...options }?: {
80
+ type?: undefined;
81
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
457
82
  type: string;
458
83
  defaults: {
459
- /**
460
- * Lock the matrix export for this kind of static, parameter less filters.
461
- */
462
- mainParameter: undefined;
463
- matrix: number[];
464
- type?: string | undefined;
465
- vertexSource?: string | undefined;
466
- colorsOnly?: boolean | undefined;
84
+ matrix: TMatColorMatrix;
85
+ colorsOnly: boolean;
467
86
  };
468
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
87
+ uniformLocations: string[];
88
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
469
89
  };
470
90
  export declare const BlackWhite: {
471
- new ({ type, ...options }?: Record<string, any>): {
472
- matrix: number[];
473
- colorsOnly: boolean;
474
- setOptions({ matrix, ...options }: Record<string, any>): void;
475
- getFragmentSource(): string;
476
- applyTo2d(options: import("./typedefs").T2DPipelineState): void;
477
- getUniformLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLUniformLocationMap;
478
- sendUniformData(gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap): void;
479
- readonly type: string;
480
- vertexSource: string;
481
- mainParameter?: keyof any | undefined;
482
- createProgram(gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string): {
483
- program: WebGLProgram;
484
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
485
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
486
- };
487
- getAttributeLocations(gl: WebGLRenderingContext, program: WebGLProgram): import("./typedefs").TWebGLAttributeLocationMap;
488
- sendAttributeData(gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array): void;
489
- _setupFrameBuffer(options: import("./typedefs").TWebGLPipelineState): void;
490
- _swapTextures(options: import("./typedefs").TWebGLPipelineState): void;
491
- isNeutralState(options?: any): boolean;
492
- applyTo(options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState): void;
493
- getCacheKey(): string;
494
- retrieveShader(options: import("./typedefs").TWebGLPipelineState): import("./typedefs").TWebGLProgramCacheItem;
495
- applyToWebGL(options: import("./typedefs").TWebGLPipelineState): void;
496
- bindAdditionalTexture(gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number): void;
497
- unbindAdditionalTexture(gl: WebGLRenderingContext, textureUnit: number): void;
498
- getMainParameter(): string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
499
- program: WebGLProgram;
500
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
501
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
502
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | (() => string | boolean | number[] | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLAttributeLocationMap) | ((options: import("./typedefs").TWebGLPipelineState) => import("./typedefs").TWebGLProgramCacheItem) | ((options?: any) => boolean) | ((gl: WebGLRenderingContext, program: WebGLProgram) => import("./typedefs").TWebGLUniformLocationMap) | (() => string) | (({ matrix, ...options }: Record<string, any>) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | ((gl: WebGLRenderingContext, uniformLocations: import("./typedefs").TWebGLUniformLocationMap) => void) | ((gl: WebGLRenderingContext, fragmentSource?: string, vertexSource?: string) => {
503
- program: WebGLProgram;
504
- attributeLocations: import("./typedefs").TWebGLAttributeLocationMap;
505
- uniformLocations: import("./typedefs").TWebGLUniformLocationMap;
506
- }) | ((gl: WebGLRenderingContext, attributeLocations: Record<string, number>, aPositionData: Float32Array) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((options: import("./typedefs").TWebGLPipelineState | import("./typedefs").T2DPipelineState) => void) | (() => string) | ((options: import("./typedefs").TWebGLPipelineState) => void) | ((gl: WebGLRenderingContext, texture: WebGLTexture, textureUnit: number) => void) | ((gl: WebGLRenderingContext, textureUnit: number) => void) | any | (() => {
507
- type: string;
508
- }) | (() => {
509
- type: string;
510
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined) | (() => {
511
- type: string;
512
- }) | (() => {
513
- type: string;
514
- }) | ((value: any) => void) | ((options: import("./typedefs").T2DPipelineState) => void) | undefined;
515
- setMainParameter(value: any): void;
516
- createHelpLayer(options: import("./typedefs").T2DPipelineState): void;
517
- toObject(): {
518
- type: string;
519
- };
520
- toJSON(): {
521
- type: string;
522
- };
523
- };
91
+ new ({ type, ...options }?: {
92
+ type?: undefined;
93
+ } & Partial<FixedFiltersOwnProps> & Record<string, any>): ColorMatrix<string, FixedFiltersOwnProps>;
524
94
  type: string;
525
95
  defaults: {
526
- /**
527
- * Lock the matrix export for this kind of static, parameter less filters.
528
- */
529
- mainParameter: undefined;
530
- matrix: number[];
531
- type?: string | undefined;
532
- vertexSource?: string | undefined;
533
- colorsOnly?: boolean | undefined;
96
+ matrix: TMatColorMatrix;
97
+ colorsOnly: boolean;
534
98
  };
535
- fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter>;
99
+ uniformLocations: string[];
100
+ fromObject({ type, ...filterOptions }: Record<string, any>, options: import("../typedefs").Abortable): Promise<import("./BaseFilter").BaseFilter<string, object>>;
536
101
  };
102
+ export {};
537
103
  //# sourceMappingURL=ColorMatrixFilters.d.ts.map