@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
- # @octane-xplat/shaders
1
+ # `@octane-xplat/shaders`
2
2
 
3
- Thin adapter that runs the published [`shaders`](https://www.npmjs.com/package/shaders)
4
- WebGPU engine (pinned `4.0.0`, used unchanged — no vendoring, no shader port) on an
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
- The package deliberately does not create a new shader API. Preset shapes, effect
8
- names, parameters, options, and the returned instance's methods are upstream's:
9
- `update(id, props)`, `resize()`, `pause()`, `resume()`, `destroy()`,
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "b84fbf0f-5895-496f-8489-f300adedefa9",
3
+ "buildId": "22d5eb9a-f8ab-4f7b-af56-c51d1e705710",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "de39686e-0430-449c-b6e4-68cfe8c2ceb4",
3
+ "buildId": "7458d688-1591-4ab0-bbb3-ce3afee212df",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/shaders",
3
- "version": "0.11.1",
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.11.1",
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.2",
51
+ "@nativescript/core": "9.1.3",
52
52
  "@octanejs/vite-plugin": "0.1.61",
53
- "octane": "0.6.3",
53
+ "octane": "0.11.0",
54
54
  "tsrx-typegen": "0.2.2",
55
55
  "typescript": "5.9.3",
56
56
  "vite": "8.3.0"