@react-three/tsl 10.0.0-alpha.6 → 10.0.0-canary.0aed646

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/dist/index.d.cts CHANGED
@@ -154,17 +154,11 @@ interface TSLRootState {
154
154
  }
155
155
 
156
156
  // Every fiber entry shares one core, and so one RootState: augmenting it through the root entry
157
- // reaches /legacy, /webgpu and /extension as well.
157
+ // reaches /legacy and /extension as well.
158
158
  declare module '@react-three/fiber' {
159
159
  interface RootState extends TSLRootState {}
160
160
  }
161
161
 
162
- // /webgpu exports WebGPURootState as RootState. Augmenting the base state it extends reaches both,
163
- // and also the stores (useStore(), get(), primaryStore) typed with the base.
164
- declare module '@react-three/fiber/webgpu' {
165
- interface BaseRootState extends TSLRootState {}
166
- }
167
-
168
162
  declare module '@react-three/fiber/extension' {
169
163
  interface RootState extends TSLRootState {}
170
164
  }
package/dist/index.d.mts CHANGED
@@ -154,17 +154,11 @@ interface TSLRootState {
154
154
  }
155
155
 
156
156
  // Every fiber entry shares one core, and so one RootState: augmenting it through the root entry
157
- // reaches /legacy, /webgpu and /extension as well.
157
+ // reaches /legacy and /extension as well.
158
158
  declare module '@react-three/fiber' {
159
159
  interface RootState extends TSLRootState {}
160
160
  }
161
161
 
162
- // /webgpu exports WebGPURootState as RootState. Augmenting the base state it extends reaches both,
163
- // and also the stores (useStore(), get(), primaryStore) typed with the base.
164
- declare module '@react-three/fiber/webgpu' {
165
- interface BaseRootState extends TSLRootState {}
166
- }
167
-
168
162
  declare module '@react-three/fiber/extension' {
169
163
  interface RootState extends TSLRootState {}
170
164
  }
package/dist/index.d.ts CHANGED
@@ -154,17 +154,11 @@ interface TSLRootState {
154
154
  }
155
155
 
156
156
  // Every fiber entry shares one core, and so one RootState: augmenting it through the root entry
157
- // reaches /legacy, /webgpu and /extension as well.
157
+ // reaches /legacy and /extension as well.
158
158
  declare module '@react-three/fiber' {
159
159
  interface RootState extends TSLRootState {}
160
160
  }
161
161
 
162
- // /webgpu exports WebGPURootState as RootState. Augmenting the base state it extends reaches both,
163
- // and also the stores (useStore(), get(), primaryStore) typed with the base.
164
- declare module '@react-three/fiber/webgpu' {
165
- interface BaseRootState extends TSLRootState {}
166
- }
167
-
168
162
  declare module '@react-three/fiber/extension' {
169
163
  interface RootState extends TSLRootState {}
170
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/tsl",
3
- "version": "10.0.0-alpha.6",
3
+ "version": "10.0.0-canary.0aed646",
4
4
  "description": "TSL resource hooks for react-three-fiber: uniforms, nodes, buffers, GPU storage and render pipelines on WebGPU",
5
5
  "keywords": [
6
6
  "react",
@@ -56,7 +56,7 @@
56
56
  "@types/three": "^0.185.0",
57
57
  "@webgpu/types": "^0.1.64",
58
58
  "three": ">=0.185.0",
59
- "@react-three/fiber": "10.0.0-alpha.6"
59
+ "@react-three/fiber": "10.0.0-canary.0aed646"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "unbuild",
package/readme.md CHANGED
@@ -48,6 +48,6 @@ export const App = () => (
48
48
 
49
49
  Resources belong to the renderer: a `<Canvas primary>`, the canvases sharing its renderer (every other WebGPU canvas, or `share="id"`) and every portal inside them share one set. They live on the primary canvas's `RootState` (`state.uniforms`, `state.nodes`, `state.buffers`, `state.gpuStorage`); secondaries hold the same objects and portals inherit them from their parent (a portal's scene and camera stay its own), so `state.uniforms` reads the same everywhere.
50
50
 
51
- Works under any Canvas that runs the WebGPU renderer: `@react-three/fiber` or `@react-three/fiber/webgpu` (not `/legacy`). It reaches fiber only through the three-free `@react-three/fiber/extension` entry, so it adds no renderer and no second copy of fiber to your bundle.
51
+ Works under any Canvas that runs the WebGPU renderer: `@react-three/fiber` (not `/legacy`). It reaches fiber only through the three-free `@react-three/fiber/extension` entry, so it adds no renderer and no second copy of fiber to your bundle.
52
52
 
53
53
  Full documentation: [WebGPU & TSL](https://github.com/pmndrs/react-three-fiber/tree/v10/docs/webgpu).