@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.
- package/CHANGELOG.md +18 -1
- package/dist/index.js +229 -491
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +229 -491
- package/dist/index.mjs.map +1 -1
- package/dist/index.node.cjs +229 -491
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +229 -491
- package/dist/index.node.mjs.map +1 -1
- package/dist/package.json.min.mjs +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/canvas/Canvas.d.ts.map +1 -1
- package/dist/src/canvas/Canvas.min.mjs +1 -1
- package/dist/src/canvas/Canvas.min.mjs.map +1 -1
- package/dist/src/canvas/Canvas.mjs +8 -9
- package/dist/src/canvas/Canvas.mjs.map +1 -1
- package/dist/src/canvas/SelectableCanvas.d.ts +1 -1
- package/dist/src/canvas/SelectableCanvas.d.ts.map +1 -1
- package/dist/src/canvas/SelectableCanvas.min.mjs +1 -1
- package/dist/src/canvas/SelectableCanvas.min.mjs.map +1 -1
- package/dist/src/canvas/SelectableCanvas.mjs +1 -1
- package/dist/src/canvas/SelectableCanvas.mjs.map +1 -1
- package/dist/src/canvas/StaticCanvas.d.ts +4 -4
- package/dist/src/canvas/StaticCanvas.d.ts.map +1 -1
- package/dist/src/canvas/StaticCanvas.min.mjs +1 -1
- package/dist/src/canvas/StaticCanvas.min.mjs.map +1 -1
- package/dist/src/canvas/StaticCanvas.mjs +0 -13
- package/dist/src/canvas/StaticCanvas.mjs.map +1 -1
- package/dist/src/color/Color.d.ts +1 -0
- package/dist/src/color/Color.d.ts.map +1 -1
- package/dist/src/color/Color.min.mjs +1 -1
- package/dist/src/color/Color.min.mjs.map +1 -1
- package/dist/src/color/Color.mjs +3 -1
- package/dist/src/color/Color.mjs.map +1 -1
- package/dist/src/filters/BaseFilter.d.ts +16 -23
- package/dist/src/filters/BaseFilter.d.ts.map +1 -1
- package/dist/src/filters/BaseFilter.min.mjs +1 -1
- package/dist/src/filters/BaseFilter.min.mjs.map +1 -1
- package/dist/src/filters/BaseFilter.mjs +24 -41
- package/dist/src/filters/BaseFilter.mjs.map +1 -1
- package/dist/src/filters/BlendColor.d.ts +13 -24
- package/dist/src/filters/BlendColor.d.ts.map +1 -1
- package/dist/src/filters/BlendColor.min.mjs +1 -1
- package/dist/src/filters/BlendColor.min.mjs.map +1 -1
- package/dist/src/filters/BlendColor.mjs +1 -25
- package/dist/src/filters/BlendColor.mjs.map +1 -1
- package/dist/src/filters/BlendImage.d.ts +18 -19
- package/dist/src/filters/BlendImage.d.ts.map +1 -1
- package/dist/src/filters/BlendImage.min.mjs +1 -1
- package/dist/src/filters/BlendImage.min.mjs.map +1 -1
- package/dist/src/filters/BlendImage.mjs +13 -24
- package/dist/src/filters/BlendImage.mjs.map +1 -1
- package/dist/src/filters/Blur.d.ts +10 -12
- package/dist/src/filters/Blur.d.ts.map +1 -1
- package/dist/src/filters/Blur.min.mjs +1 -1
- package/dist/src/filters/Blur.min.mjs.map +1 -1
- package/dist/src/filters/Blur.mjs +5 -14
- package/dist/src/filters/Blur.mjs.map +1 -1
- package/dist/src/filters/Boilerplate.d.ts +11 -13
- package/dist/src/filters/Boilerplate.d.ts.map +1 -1
- package/dist/src/filters/Brightness.d.ts +10 -12
- package/dist/src/filters/Brightness.d.ts.map +1 -1
- package/dist/src/filters/Brightness.min.mjs +1 -1
- package/dist/src/filters/Brightness.min.mjs.map +1 -1
- package/dist/src/filters/Brightness.mjs +4 -16
- package/dist/src/filters/Brightness.mjs.map +1 -1
- package/dist/src/filters/Canvas2dFilterBackend.d.ts +1 -1
- package/dist/src/filters/Canvas2dFilterBackend.d.ts.map +1 -1
- package/dist/src/filters/Canvas2dFilterBackend.min.mjs.map +1 -1
- package/dist/src/filters/Canvas2dFilterBackend.mjs.map +1 -1
- package/dist/src/filters/ColorMatrix.d.ts +17 -15
- package/dist/src/filters/ColorMatrix.d.ts.map +1 -1
- package/dist/src/filters/ColorMatrix.min.mjs +1 -1
- package/dist/src/filters/ColorMatrix.min.mjs.map +1 -1
- package/dist/src/filters/ColorMatrix.mjs +7 -27
- package/dist/src/filters/ColorMatrix.mjs.map +1 -1
- package/dist/src/filters/ColorMatrixFilters.d.ts +63 -497
- package/dist/src/filters/ColorMatrixFilters.d.ts.map +1 -1
- package/dist/src/filters/ColorMatrixFilters.min.mjs +1 -1
- package/dist/src/filters/ColorMatrixFilters.min.mjs.map +1 -1
- package/dist/src/filters/ColorMatrixFilters.mjs +13 -8
- package/dist/src/filters/ColorMatrixFilters.mjs.map +1 -1
- package/dist/src/filters/Composed.d.ts +11 -10
- package/dist/src/filters/Composed.d.ts.map +1 -1
- package/dist/src/filters/Composed.min.mjs +1 -1
- package/dist/src/filters/Composed.min.mjs.map +1 -1
- package/dist/src/filters/Composed.mjs +7 -12
- package/dist/src/filters/Composed.mjs.map +1 -1
- package/dist/src/filters/Contrast.d.ts +10 -12
- package/dist/src/filters/Contrast.d.ts.map +1 -1
- package/dist/src/filters/Contrast.min.mjs +1 -1
- package/dist/src/filters/Contrast.min.mjs.map +1 -1
- package/dist/src/filters/Contrast.mjs +6 -17
- package/dist/src/filters/Contrast.mjs.map +1 -1
- package/dist/src/filters/Convolute.d.ts +11 -14
- package/dist/src/filters/Convolute.d.ts.map +1 -1
- package/dist/src/filters/Convolute.min.mjs +1 -1
- package/dist/src/filters/Convolute.min.mjs.map +1 -1
- package/dist/src/filters/Convolute.mjs +1 -15
- package/dist/src/filters/Convolute.mjs.map +1 -1
- package/dist/src/filters/Gamma.d.ts +17 -14
- package/dist/src/filters/Gamma.d.ts.map +1 -1
- package/dist/src/filters/Gamma.min.mjs +1 -1
- package/dist/src/filters/Gamma.min.mjs.map +1 -1
- package/dist/src/filters/Gamma.mjs +20 -24
- package/dist/src/filters/Gamma.mjs.map +1 -1
- package/dist/src/filters/Grayscale.d.ts +8 -11
- package/dist/src/filters/Grayscale.d.ts.map +1 -1
- package/dist/src/filters/Grayscale.min.mjs +1 -1
- package/dist/src/filters/Grayscale.min.mjs.map +1 -1
- package/dist/src/filters/Grayscale.mjs +2 -14
- package/dist/src/filters/Grayscale.mjs.map +1 -1
- package/dist/src/filters/HueRotation.d.ts +11 -5
- package/dist/src/filters/HueRotation.d.ts.map +1 -1
- package/dist/src/filters/HueRotation.min.mjs +1 -1
- package/dist/src/filters/HueRotation.min.mjs.map +1 -1
- package/dist/src/filters/HueRotation.mjs +10 -5
- package/dist/src/filters/HueRotation.mjs.map +1 -1
- package/dist/src/filters/Invert.d.ts +10 -13
- package/dist/src/filters/Invert.d.ts.map +1 -1
- package/dist/src/filters/Invert.min.mjs +1 -1
- package/dist/src/filters/Invert.min.mjs.map +1 -1
- package/dist/src/filters/Invert.mjs +2 -15
- package/dist/src/filters/Invert.mjs.map +1 -1
- package/dist/src/filters/Noise.d.ts +9 -20
- package/dist/src/filters/Noise.d.ts.map +1 -1
- package/dist/src/filters/Noise.min.mjs +1 -1
- package/dist/src/filters/Noise.min.mjs.map +1 -1
- package/dist/src/filters/Noise.mjs +4 -27
- package/dist/src/filters/Noise.mjs.map +1 -1
- package/dist/src/filters/Pixelate.d.ts +8 -12
- package/dist/src/filters/Pixelate.d.ts.map +1 -1
- package/dist/src/filters/Pixelate.min.mjs +1 -1
- package/dist/src/filters/Pixelate.min.mjs.map +1 -1
- package/dist/src/filters/Pixelate.mjs +2 -16
- package/dist/src/filters/Pixelate.mjs.map +1 -1
- package/dist/src/filters/RemoveColor.d.ts +12 -23
- package/dist/src/filters/RemoveColor.d.ts.map +1 -1
- package/dist/src/filters/RemoveColor.min.mjs +1 -1
- package/dist/src/filters/RemoveColor.min.mjs.map +1 -1
- package/dist/src/filters/RemoveColor.mjs +2 -25
- package/dist/src/filters/RemoveColor.mjs.map +1 -1
- package/dist/src/filters/Resize.d.ts +14 -30
- package/dist/src/filters/Resize.d.ts.map +1 -1
- package/dist/src/filters/Resize.min.mjs +1 -1
- package/dist/src/filters/Resize.min.mjs.map +1 -1
- package/dist/src/filters/Resize.mjs +3 -30
- package/dist/src/filters/Resize.mjs.map +1 -1
- package/dist/src/filters/Saturation.d.ts +9 -12
- package/dist/src/filters/Saturation.d.ts.map +1 -1
- package/dist/src/filters/Saturation.min.mjs +1 -1
- package/dist/src/filters/Saturation.min.mjs.map +1 -1
- package/dist/src/filters/Saturation.mjs +8 -20
- package/dist/src/filters/Saturation.mjs.map +1 -1
- package/dist/src/filters/Vibrance.d.ts +10 -13
- package/dist/src/filters/Vibrance.d.ts.map +1 -1
- package/dist/src/filters/Vibrance.min.mjs +1 -1
- package/dist/src/filters/Vibrance.min.mjs.map +1 -1
- package/dist/src/filters/Vibrance.mjs +6 -18
- package/dist/src/filters/Vibrance.mjs.map +1 -1
- package/dist/src/filters/WebGLFilterBackend.d.ts +1 -1
- package/dist/src/filters/WebGLFilterBackend.d.ts.map +1 -1
- package/dist/src/filters/WebGLFilterBackend.min.mjs.map +1 -1
- package/dist/src/filters/WebGLFilterBackend.mjs.map +1 -1
- package/dist/src/filters/shaders/blendImage.d.ts +1 -0
- package/dist/src/filters/shaders/blendImage.d.ts.map +1 -1
- package/dist/src/filters/shaders/blendImage.min.mjs +1 -1
- package/dist/src/filters/shaders/blendImage.min.mjs.map +1 -1
- package/dist/src/filters/shaders/blendImage.mjs +2 -1
- package/dist/src/filters/shaders/blendImage.mjs.map +1 -1
- package/dist/src/filters/typedefs.d.ts +22 -0
- package/dist/src/filters/typedefs.d.ts.map +1 -1
- package/dist/src/parser/elements_parser.d.ts +1 -1
- package/dist/src/parser/elements_parser.d.ts.map +1 -1
- package/dist/src/parser/elements_parser.min.mjs.map +1 -1
- package/dist/src/parser/elements_parser.mjs.map +1 -1
- package/dist/src/shapes/ActiveSelection.d.ts +1 -1
- package/dist/src/shapes/ActiveSelection.d.ts.map +1 -1
- package/dist/src/shapes/ActiveSelection.min.mjs +1 -1
- package/dist/src/shapes/ActiveSelection.min.mjs.map +1 -1
- package/dist/src/shapes/ActiveSelection.mjs +13 -10
- package/dist/src/shapes/ActiveSelection.mjs.map +1 -1
- package/dist/src/shapes/Group.d.ts +9 -0
- package/dist/src/shapes/Group.d.ts.map +1 -1
- package/dist/src/shapes/Group.min.mjs +1 -1
- package/dist/src/shapes/Group.min.mjs.map +1 -1
- package/dist/src/shapes/Group.mjs +10 -1
- package/dist/src/shapes/Group.mjs.map +1 -1
- package/dist/src/shapes/Image.d.ts +4 -4
- package/dist/src/shapes/Image.d.ts.map +1 -1
- package/dist/src/shapes/Image.min.mjs.map +1 -1
- package/dist/src/shapes/Image.mjs.map +1 -1
- package/dist/src/shapes/Object/InteractiveObject.d.ts +3 -0
- package/dist/src/shapes/Object/InteractiveObject.d.ts.map +1 -1
- package/dist/src/shapes/Object/InteractiveObject.min.mjs +1 -1
- package/dist/src/shapes/Object/InteractiveObject.min.mjs.map +1 -1
- package/dist/src/shapes/Object/InteractiveObject.mjs +3 -1
- package/dist/src/shapes/Object/InteractiveObject.mjs.map +1 -1
- package/dist/src/shapes/Object/Object.d.ts +1 -16
- package/dist/src/shapes/Object/Object.d.ts.map +1 -1
- package/dist/src/shapes/Object/Object.min.mjs +1 -1
- package/dist/src/shapes/Object/Object.min.mjs.map +1 -1
- package/dist/src/shapes/Object/Object.mjs +9 -10
- package/dist/src/shapes/Object/Object.mjs.map +1 -1
- package/dist/src/shapes/Object/StackedObject.d.ts +8 -15
- package/dist/src/shapes/Object/StackedObject.d.ts.map +1 -1
- package/dist/src/shapes/Object/StackedObject.min.mjs +1 -1
- package/dist/src/shapes/Object/StackedObject.min.mjs.map +1 -1
- package/dist/src/shapes/Object/StackedObject.mjs +11 -21
- package/dist/src/shapes/Object/StackedObject.mjs.map +1 -1
- package/dist/src/shapes/Path.d.ts +2 -2
- package/dist/src/shapes/Path.d.ts.map +1 -1
- package/dist/src/shapes/Path.min.mjs.map +1 -1
- package/dist/src/shapes/Path.mjs +2 -2
- package/dist/src/shapes/Path.mjs.map +1 -1
- package/dist/src/shapes/Text/TextSVGExportMixin.d.ts +1 -1
- package/dist/src/shapes/Text/TextSVGExportMixin.d.ts.map +1 -1
- package/dist/src/shapes/Text/TextSVGExportMixin.min.mjs.map +1 -1
- package/dist/src/shapes/Text/TextSVGExportMixin.mjs.map +1 -1
- package/dist/src/util/misc/objectEnlive.d.ts +2 -2
- package/dist/src/util/misc/objectEnlive.d.ts.map +1 -1
- package/dist/src/util/misc/objectEnlive.min.mjs.map +1 -1
- package/dist/src/util/misc/objectEnlive.mjs.map +1 -1
- package/package.json +2 -2
- package/src/canvas/Canvas.ts +6 -9
- package/src/canvas/SelectableCanvas.ts +2 -2
- package/src/canvas/StaticCanvas.ts +4 -18
- package/src/color/Color.ts +2 -1
- package/src/color/color.test.ts +6 -0
- package/src/filters/BaseFilter.ts +45 -51
- package/src/filters/BlendColor.ts +13 -35
- package/src/filters/BlendImage.ts +26 -40
- package/src/filters/Blur.ts +13 -20
- package/src/filters/Boilerplate.ts +13 -22
- package/src/filters/Brightness.ts +12 -21
- package/src/filters/Canvas2dFilterBackend.ts +1 -1
- package/src/filters/ColorMatrix.ts +29 -34
- package/src/filters/ColorMatrixFilters.ts +15 -9
- package/src/filters/Composed.ts +26 -16
- package/src/filters/Contrast.ts +15 -23
- package/src/filters/Convolute.ts +11 -23
- package/src/filters/Gamma.ts +32 -24
- package/src/filters/Grayscale.ts +8 -19
- package/src/filters/HueRotation.ts +21 -11
- package/src/filters/Invert.ts +11 -22
- package/src/filters/Noise.ts +11 -30
- package/src/filters/Pixelate.ts +9 -22
- package/src/filters/RemoveColor.ts +21 -35
- package/src/filters/Resize.ts +20 -44
- package/src/filters/Saturation.ts +16 -27
- package/src/filters/Vibrance.ts +14 -24
- package/src/filters/WebGLFilterBackend.ts +1 -1
- package/src/filters/shaders/blendImage.ts +12 -0
- package/src/filters/typedefs.ts +23 -0
- package/src/parser/elements_parser.ts +1 -1
- package/src/shapes/ActiveSelection.ts +8 -4
- package/src/shapes/Group.ts +16 -1
- package/src/shapes/Image.ts +8 -6
- package/src/shapes/Object/InteractiveObject.ts +3 -1
- package/src/shapes/Object/Object.ts +10 -35
- package/src/shapes/Object/StackedObject.ts +28 -44
- package/src/shapes/Path.ts +4 -4
- package/src/shapes/Text/TextSVGExportMixin.ts +1 -1
- package/src/util/misc/objectEnlive.ts +12 -2
|
@@ -1,537 +1,103 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
271
|
-
|
|
272
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
338
|
-
|
|
339
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
405
|
-
|
|
406
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }?:
|
|
472
|
-
|
|
473
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|