@headless-three/renderer 0.2.0 → 0.4.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/README.md +53 -0
- package/dist/gpu-output.d.ts +143 -0
- package/dist/gpu-output.d.ts.map +1 -1
- package/dist/gpu-output.js +129 -1
- package/dist/gpu-output.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.part-008.d.ts +3 -1
- package/dist/index.part-008.d.ts.map +1 -1
- package/dist/index.part-008.js +4 -0
- package/dist/index.part-008.js.map +1 -1
- package/dist/index.part-010.d.ts +2 -1
- package/dist/index.part-010.d.ts.map +1 -1
- package/dist/index.part-010.js +41 -0
- package/dist/index.part-010.js.map +1 -1
- package/native.d.ts +107 -0
- package/native.js +55 -52
- package/package.json +13 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headless-three/renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Headless wgpu renderer for Three.js scenes in Node.js. Produces PNG or raw RGBA from a THREE.Scene + THREE.Camera without a browser or WebGL.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"three",
|
|
@@ -70,9 +70,11 @@
|
|
|
70
70
|
"create-npm-dirs": "napi create-npm-dirs",
|
|
71
71
|
"prepublishOnly": "napi prepublish -t npm",
|
|
72
72
|
"pretest": "pnpm run build:ts",
|
|
73
|
-
"test": "pnpm run test:docs && pnpm run test:smoke && pnpm run test:gpu-output && pnpm run test:gltf && pnpm run test:corpus && pnpm run test:golden && pnpm run test:scale && pnpm run test:conformance",
|
|
73
|
+
"test": "pnpm run test:docs && pnpm run test:smoke && pnpm run test:gpu-output && pnpm run test:gpu-media-output && pnpm run test:wrtc && pnpm run test:gltf && pnpm run test:corpus && pnpm run test:golden && pnpm run test:scale && pnpm run test:conformance",
|
|
74
74
|
"test:docs": "node --test --test-reporter=spec test/docs.test.mjs",
|
|
75
75
|
"test:gpu-output": "node --test --test-reporter=spec test/gpu-output.test.mjs",
|
|
76
|
+
"test:gpu-media-output": "node --test --test-reporter=spec test/gpu-media-output.test.mjs",
|
|
77
|
+
"test:wrtc": "node --test --test-reporter=spec test/wrtc-i420.test.mjs",
|
|
76
78
|
"test:smoke": "node --test --test-reporter=spec test/smoke.test.mjs",
|
|
77
79
|
"test:gltf": "node --test --test-reporter=spec test/gltf.test.mjs",
|
|
78
80
|
"test:corpus": "node --test --test-reporter=spec test/corpus.test.mjs",
|
|
@@ -84,22 +86,25 @@
|
|
|
84
86
|
"test:update": "UPDATE_SNAPSHOTS=1 node --test \"test/**/*.test.mjs\"",
|
|
85
87
|
"test:rust": "cargo test",
|
|
86
88
|
"verify:pack": "node scripts/verify-packed-install.mjs",
|
|
87
|
-
"profile:animated": "node scripts/profile-animated-scene.mjs"
|
|
89
|
+
"profile:animated": "node scripts/profile-animated-scene.mjs",
|
|
90
|
+
"benchmark:media": "node scripts/benchmark-media-output.mjs",
|
|
91
|
+
"benchmark:wrtc": "node scripts/benchmark-wrtc-i420.mjs"
|
|
88
92
|
},
|
|
89
93
|
"peerDependencies": {
|
|
90
94
|
"three": ">=0.150.0"
|
|
91
95
|
},
|
|
92
96
|
"devDependencies": {
|
|
93
97
|
"@napi-rs/cli": "^3.6.1",
|
|
98
|
+
"@roamhq/wrtc": "0.10.0",
|
|
94
99
|
"@types/node": "25.6.0",
|
|
95
100
|
"three": "^0.183.0",
|
|
96
101
|
"typescript": "6.0.3"
|
|
97
102
|
},
|
|
98
103
|
"optionalDependencies": {
|
|
99
|
-
"@headless-three/renderer-darwin-x64": "0.
|
|
100
|
-
"@headless-three/renderer-darwin-arm64": "0.
|
|
101
|
-
"@headless-three/renderer-win32-x64-msvc": "0.
|
|
102
|
-
"@headless-three/renderer-linux-x64-gnu": "0.
|
|
103
|
-
"@headless-three/renderer-linux-arm64-gnu": "0.
|
|
104
|
+
"@headless-three/renderer-darwin-x64": "0.4.0",
|
|
105
|
+
"@headless-three/renderer-darwin-arm64": "0.4.0",
|
|
106
|
+
"@headless-three/renderer-win32-x64-msvc": "0.4.0",
|
|
107
|
+
"@headless-three/renderer-linux-x64-gnu": "0.4.0",
|
|
108
|
+
"@headless-three/renderer-linux-arm64-gnu": "0.4.0"
|
|
104
109
|
}
|
|
105
110
|
}
|