@thi.ng/shader-ast-js 0.7.12 → 0.7.15
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 +1 -1
- package/package.json +14 -14
- package/runtime.d.ts +2 -2
- package/target.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-js",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.15",
|
|
4
4
|
"description": "Customizable JS codegen, compiler & runtime for @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/checks": "^3.1
|
|
39
|
-
"@thi.ng/errors": "^2.1.
|
|
40
|
-
"@thi.ng/math": "^5.3.
|
|
41
|
-
"@thi.ng/matrices": "^2.1.
|
|
42
|
-
"@thi.ng/pixel": "^3.4.
|
|
43
|
-
"@thi.ng/shader-ast": "^0.12.
|
|
44
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.3.7",
|
|
38
|
+
"@thi.ng/checks": "^3.2.1",
|
|
39
|
+
"@thi.ng/errors": "^2.1.7",
|
|
40
|
+
"@thi.ng/math": "^5.3.3",
|
|
41
|
+
"@thi.ng/matrices": "^2.1.15",
|
|
42
|
+
"@thi.ng/pixel": "^3.4.6",
|
|
43
|
+
"@thi.ng/shader-ast": "^0.12.11",
|
|
44
|
+
"@thi.ng/vectors": "^7.5.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@microsoft/api-extractor": "^7.
|
|
48
|
-
"@thi.ng/testament": "^0.2.
|
|
47
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
48
|
+
"@thi.ng/testament": "^0.2.8",
|
|
49
49
|
"rimraf": "^3.0.2",
|
|
50
50
|
"tools": "^0.0.1",
|
|
51
|
-
"typedoc": "^0.22.
|
|
52
|
-
"typescript": "^4.
|
|
51
|
+
"typedoc": "^0.22.17",
|
|
52
|
+
"typescript": "^4.7.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"ast",
|
|
@@ -147,5 +147,5 @@
|
|
|
147
147
|
],
|
|
148
148
|
"year": 2019
|
|
149
149
|
},
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\n"
|
|
151
151
|
}
|
package/runtime.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
|
|
|
25
25
|
* @param bufOffsetY -
|
|
26
26
|
* @param imgH -
|
|
27
27
|
*/
|
|
28
|
-
export declare const renderPixels: (fn: Fn<ReadonlyVec, Vec>, u32: Uint32Array, bufW: number, bufH: number, x: number, y: number, w?: number
|
|
28
|
+
export declare const renderPixels: (fn: Fn<ReadonlyVec, Vec>, u32: Uint32Array, bufW: number, bufH: number, x: number, y: number, w?: number, h?: number, bufOffsetX?: number, bufOffsetY?: number, imgH?: number) => Uint32Array;
|
|
29
29
|
/**
|
|
30
30
|
* Takes a {@link @thi.ng/pixel#IntBuffer} pixel buffer from
|
|
31
31
|
* thi.ng/pixel w/ {@link @thi.ng/pixel#ABGR8888} format, an optional
|
|
@@ -47,7 +47,7 @@ export declare const renderPixels: (fn: Fn<ReadonlyVec, Vec>, u32: Uint32Array,
|
|
|
47
47
|
* @param bufOffsetY -
|
|
48
48
|
* @param imgH -
|
|
49
49
|
*/
|
|
50
|
-
export declare const renderBuffer: (fn: Fn<ReadonlyVec, Vec>, buf: IntBuffer, x?: number, y?: number, w?: number
|
|
50
|
+
export declare const renderBuffer: (fn: Fn<ReadonlyVec, Vec>, buf: IntBuffer, x?: number, y?: number, w?: number, h?: number, bufOffsetX?: number, bufOffsetY?: number, imgH?: number) => IntBuffer;
|
|
51
51
|
/**
|
|
52
52
|
* Higher order function accepting an `HTMLCanvasElement` and returning
|
|
53
53
|
* a render function which accepts the following parameters:
|
package/target.d.ts
CHANGED