@octane-xplat/shaders 0.11.1 → 0.13.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
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@octane-xplat/shaders`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Octane Xplat `Canvas` surface from `@octane-xplat/canvas`.
|
|
3
|
+
Runs the published [`shaders`](https://www.npmjs.com/package/shaders) WebGPU
|
|
4
|
+
engine (pinned `4.0.0`, used unchanged — no vendoring, no shader port) on an
|
|
5
|
+
Octane Xplat `Canvas` surface from `@octane-xplat/canvas`. Use it for the
|
|
6
|
+
upstream engine's procedural presets — noise, gradients, and other generated
|
|
7
|
+
effects. The adapter deliberately does not create a new shader API; it only
|
|
8
|
+
adds the surface/lifecycle glue Xplat needs. Preset shapes, effect names,
|
|
9
|
+
parameters, options, and the returned instance's methods — `update(id, props)`,
|
|
10
|
+
`resize()`, `pause()`, `resume()`, `destroy()`, `getFailureReason()` — are
|
|
11
|
+
upstream's.
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`getFailureReason()`. The adapter only adds the surface/lifecycle glue Xplat needs.
|
|
13
|
+
```sh
|
|
14
|
+
pnpm add @octane-xplat/shaders
|
|
15
|
+
```
|
|
11
16
|
|
|
12
17
|
## Usage
|
|
13
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octane-xplat/shaders",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Thin adapter that runs the published `shaders` WebGPU library on Octane xplat Canvas surfaces — web (implemented) and NativeScript iOS/Android (experimental, device verification pending)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"canvas",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@octane-xplat/canvas": "0.
|
|
46
|
+
"@octane-xplat/canvas": "0.13.0",
|
|
47
47
|
"shaders": "4.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@nativescript-community/octane": "0.2.4",
|
|
51
|
-
"@nativescript/core": "9.1.
|
|
51
|
+
"@nativescript/core": "9.1.3",
|
|
52
52
|
"@octanejs/vite-plugin": "0.1.61",
|
|
53
|
-
"octane": "0.
|
|
53
|
+
"octane": "0.11.0",
|
|
54
54
|
"tsrx-typegen": "0.2.2",
|
|
55
55
|
"typescript": "5.9.3",
|
|
56
56
|
"vite": "8.3.0"
|