@react-three/fiber 10.0.0-canary.f046a54 → 10.0.0-canary.fd3335d

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.
@@ -1,5 +1,6 @@
1
+ import * as three_examples_jsm_inspector_Inspector_js from 'three/examples/jsm/inspector/Inspector.js';
1
2
  import * as three_webgpu from 'three/webgpu';
2
- import { RenderTarget, WebGPURenderer, Node, StorageTexture, Data3DTexture, CanvasTarget, ShaderNodeObject, Euler as Euler$2, Color as Color$2, ColorRepresentation as ColorRepresentation$1, Layers as Layers$1, Raycaster, Intersection as Intersection$1, BufferGeometry, Matrix4 as Matrix4$1, Quaternion as Quaternion$1, Vector2 as Vector2$1, Vector3 as Vector3$1, Vector4 as Vector4$1, Matrix3 as Matrix3$1, Loader as Loader$1, ColorSpace, Texture as Texture$1, CubeTexture, Scene, Object3D, Frustum, OrthographicCamera, WebGPURendererParameters } from 'three/webgpu';
3
+ import { CubeRenderTarget, RenderTarget, WebGPURenderer, Node, StorageTexture, Data3DTexture, CanvasTarget, ShaderNodeObject, Euler as Euler$2, Color as Color$2, ColorRepresentation as ColorRepresentation$1, Layers as Layers$1, Raycaster, Intersection as Intersection$1, BufferGeometry, Matrix4 as Matrix4$1, Quaternion as Quaternion$1, Vector2 as Vector2$1, Vector3 as Vector3$1, Vector4 as Vector4$1, Matrix3 as Matrix3$1, Loader as Loader$1, ColorSpace, Texture as Texture$1, CubeTexture, Scene, Object3D, Frustum, OrthographicCamera, WebGPURendererParameters } from 'three/webgpu';
3
4
  import { Inspector } from 'three/addons/inspector/Inspector.js';
4
5
  import * as THREE$1 from 'three';
5
6
  import { Color as Color$1, ColorRepresentation, Euler as Euler$1, Loader, RenderTargetOptions as RenderTargetOptions$1 } from 'three';
@@ -11,7 +12,6 @@ import { FrameTimingState, FrameCallback as FrameCallback$1, SchedulerApi, UseFr
11
12
  export { AddPhaseOptions, FrameControls, FrameNextControls, FrameTimingState, RootOptions, Scheduler, SchedulerApi, UseFrameNextOptions, UseFrameOptions, getScheduler } from '@pmndrs/scheduler';
12
13
  import { Options } from 'react-use-measure';
13
14
  import * as react_jsx_runtime from 'react/jsx-runtime';
14
- import { ThreeElement as ThreeElement$1, Euler as Euler$3 } from '@react-three/fiber';
15
15
  import { GroundedSkybox } from 'three/examples/jsm/objects/GroundedSkybox.js';
16
16
 
17
17
  function _mergeNamespaces(n, m) {
@@ -41,6 +41,8 @@ function _mergeNamespaces(n, m) {
41
41
  declare const R3F_BUILD_LEGACY = false;
42
42
  declare const R3F_BUILD_WEBGPU = true;
43
43
 
44
+ /** Lazily load the three Inspector. Keeps it out of the eager module graph — see note above. */
45
+ declare function loadInspector(): Promise<typeof three_examples_jsm_inspector_Inspector_js.Inspector>;
44
46
  declare const WebGLRenderer: {
45
47
  new (): {};
46
48
  };
@@ -49,16 +51,21 @@ type WebGLShadowMap = never;
49
51
 
50
52
  declare const WebGLRenderTarget: any;
51
53
 
54
+ declare const WebGLCubeRenderTarget: any;
55
+
52
56
  var THREE = /*#__PURE__*/_mergeNamespaces({
53
57
  __proto__: null,
58
+ CubeRenderTargetCompat: CubeRenderTarget,
54
59
  Inspector: Inspector,
55
60
  R3F_BUILD_LEGACY: R3F_BUILD_LEGACY,
56
61
  R3F_BUILD_WEBGPU: R3F_BUILD_WEBGPU,
57
62
  RenderTargetCompat: RenderTarget,
63
+ WebGLCubeRenderTarget: WebGLCubeRenderTarget,
58
64
  WebGLRenderTarget: WebGLRenderTarget,
59
65
  WebGLRenderer: WebGLRenderer,
60
66
  WebGLRendererParameters: WebGLRendererParameters,
61
- WebGLShadowMap: WebGLShadowMap
67
+ WebGLShadowMap: WebGLShadowMap,
68
+ loadInspector: loadInspector
62
69
  }, [three_webgpu]);
63
70
 
64
71
  //* Utility Types ==============================
@@ -498,7 +505,7 @@ interface InternalState {
498
505
  canvasTarget?: CanvasTarget
499
506
  /**
500
507
  * Whether multi-canvas rendering is active.
501
- * True when any canvas uses `target` prop to share a renderer.
508
+ * True when any canvas uses `renderer={{ primaryCanvas: 'id' }}` to share a renderer.
502
509
  * When true, setCanvasTarget is called before each render.
503
510
  */
504
511
  isMultiCanvas?: boolean
@@ -596,8 +603,8 @@ interface RootState {
596
603
  setSize: (width?: number, height?: number, top?: number, left?: number) => void
597
604
  /** Shortcut to manual setting the pixel ratio */
598
605
  setDpr: (dpr: Dpr) => void
599
- /** Shortcut to setting frameloop flags */
600
- setFrameloop: (frameloop: Frameloop) => void
606
+ /** Shortcut to setting frameloop flags. No args resets to 'always'. */
607
+ setFrameloop: (frameloop?: Frameloop) => void
601
608
  /** Set error state to propagate to error boundary */
602
609
  setError: (error: Error | null) => void
603
610
  /** Current error state (null when no error) */
@@ -615,7 +622,7 @@ interface RootState {
615
622
  /** Internal: refcount per texture key, driven by mounted useTexture consumers (registry enrollment is on by default) */
616
623
  _textureRefs: Map<string, number>
617
624
  /** WebGPU RenderPipeline instance - use useRenderPipeline() hook */
618
- renderPipeline: any | null // THREE.PostProcessing (will be THREE.RenderPipeline in future Three.js release)
625
+ renderPipeline: ThreeRenderPipeline | null
619
626
  /** Global TSL pass nodes for render pipeline - use useRenderPipeline() hook */
620
627
  passes: Record<string, any>
621
628
  /** Internal version counter for HMR - incremented by rebuildNodes/rebuildUniforms to bust memoization */
@@ -908,8 +915,6 @@ interface Instance<O = any> {
908
915
  attach?: AttachType<O>
909
916
  previousAttach?: any
910
917
  isHidden: boolean
911
- /** Deferred ref props to apply in commitMount */
912
- deferredRefs?: Array<{ prop: string; ref: React$1.RefObject<any> }>
913
918
  /** Set of props that have been applied via once() */
914
919
  appliedOnce?: Set<string>
915
920
  }
@@ -1146,10 +1151,21 @@ type RenderTargetOptions = RenderTargetOptions$1
1146
1151
  //* Global Types ==============================
1147
1152
 
1148
1153
  declare global {
1149
- /** Uniform node type - a Node with a value property (matches Three.js UniformNode) */
1150
- interface UniformNode<T = unknown> extends Node {
1151
- value: T
1152
- }
1154
+ /**
1155
+ * Uniform node type.
1156
+ *
1157
+ * This is three's own `UniformNode`, not a re-declaration of it. It previously was a
1158
+ * hand-rolled `interface UniformNode<T> extends Node { value: T }`, which shadowed the real
1159
+ * exported type globally — so R3F's ~58 references resolved to an approximation that was
1160
+ * missing members three actually ships (`setName` among them) and had drifted to the wrong
1161
+ * arity when three made `UniformNode` two-parameter.
1162
+ *
1163
+ * three's signature is `UniformNode<TNodeType, TValue>`. R3F only ever varies the value type,
1164
+ * so the node type is fixed to `unknown` and the single parameter is kept for call-site
1165
+ * ergonomics. The result is three's structural type, so members stay in sync with the
1166
+ * installed three instead of needing to be mirrored by hand.
1167
+ */
1168
+ type UniformNode<T = unknown> = three_webgpu.UniformNode<unknown, T>
1153
1169
 
1154
1170
  /**
1155
1171
  * ShaderCallable - the return type of Fn()
@@ -1294,13 +1310,14 @@ declare module 'three/tsl' {
1294
1310
  ): ShaderCallable<R>
1295
1311
  }
1296
1312
 
1297
- /**
1298
- * RenderPipeline Types for useRenderPipeline hook (WebGPU only)
1299
- */
1300
-
1301
-
1302
-
1303
1313
  declare global {
1314
+ /**
1315
+ * three's own render pipeline type. Named here so the rest of R3F refers to three's shape
1316
+ * rather than `any`. three r183 renamed `PostProcessing` to `RenderPipeline`; our peer floor
1317
+ * is r185, so the new name is the only one.
1318
+ */
1319
+ type ThreeRenderPipeline = three_webgpu.RenderPipeline
1320
+
1304
1321
  /** Pass record - stores TSL pass nodes for render pipeline */
1305
1322
  type PassRecord = Record<string, any>
1306
1323
 
@@ -1315,7 +1332,7 @@ declare global {
1315
1332
  /** Current passes from state */
1316
1333
  passes: PassRecord
1317
1334
  /** RenderPipeline instance (null if not initialized) */
1318
- renderPipeline: any | null // THREE.PostProcessing (will be THREE.RenderPipeline in future Three.js release)
1335
+ renderPipeline: ThreeRenderPipeline | null
1319
1336
  /** Clear all passes from state */
1320
1337
  clearPasses: () => void
1321
1338
  /** Reset RenderPipeline entirely (clears PP + passes) */
@@ -1496,7 +1513,7 @@ declare namespace three_d {
1496
1513
  * a single WebGPURenderer using Three.js CanvasTarget API.
1497
1514
  *
1498
1515
  * Primary canvas: Has `id` prop, creates its own renderer, registers here
1499
- * Secondary canvas: Has `target="id"` prop, shares primary's renderer via CanvasTarget
1516
+ * Secondary canvas: Has `renderer={{ primaryCanvas: 'id' }}`, shares primary's renderer via CanvasTarget
1500
1517
  */
1501
1518
 
1502
1519
  interface PrimaryCanvasEntry {
@@ -1564,12 +1581,23 @@ type EnvironmentLoaderProps = {
1564
1581
  * const texture = useEnvironment({ preset: 'sunset' })
1565
1582
  * ```
1566
1583
  */
1567
- declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture$1<unknown> | CubeTexture;
1584
+ declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture$1<unknown, THREE$1.TextureEventMap> | CubeTexture<unknown>;
1568
1585
  declare namespace useEnvironment {
1569
1586
  var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
1570
1587
  var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
1571
1588
  }
1572
- type EnvironmentLoaderPreloadOptions = Omit<EnvironmentLoaderProps, 'encoding'>;
1589
+ /**
1590
+ * Options accepted by `useEnvironment.preload`.
1591
+ *
1592
+ * `colorSpace` is deliberately omitted: preload only warms the loader cache, and colorSpace is
1593
+ * applied to the texture by `useEnvironment()` at use time, per consumer. Accepting it here would
1594
+ * advertise an option this function silently ignores.
1595
+ *
1596
+ * This previously read `Omit<…, 'encoding'>` — omitting a key that does not exist on
1597
+ * `EnvironmentLoaderProps`, a leftover from three's pre-`colorSpace` `encoding` API. That made the
1598
+ * type equivalent to the full props, so `colorSpace` was accepted and then dropped on the floor.
1599
+ */
1600
+ type EnvironmentLoaderPreloadOptions = Omit<EnvironmentLoaderProps, 'colorSpace'>;
1573
1601
  type EnvironmentLoaderClearOptions = Pick<EnvironmentLoaderProps, 'files' | 'preset'>;
1574
1602
 
1575
1603
  /**
@@ -1613,9 +1641,9 @@ type EnvironmentProps = {
1613
1641
  blur?: number;
1614
1642
  backgroundBlurriness?: number;
1615
1643
  backgroundIntensity?: number;
1616
- backgroundRotation?: Euler$3;
1644
+ backgroundRotation?: Euler;
1617
1645
  environmentIntensity?: number;
1618
- environmentRotation?: Euler$3;
1646
+ environmentRotation?: Euler;
1619
1647
  map?: Texture$1;
1620
1648
  preset?: PresetsType;
1621
1649
  scene?: Scene | React$1.RefObject<Scene>;
@@ -1699,7 +1727,7 @@ declare function EnvironmentCube({ background, scene, blur, backgroundBlurriness
1699
1727
  declare function EnvironmentPortal({ children, near, far, resolution, frames, map, background, blur, backgroundBlurriness, backgroundIntensity, backgroundRotation, environmentIntensity, environmentRotation, scene, files, path, preset, extensions, }: EnvironmentProps): react_jsx_runtime.JSX.Element;
1700
1728
  declare module '@react-three/fiber' {
1701
1729
  interface ThreeElements {
1702
- groundProjectedEnvImpl: ThreeElement$1<typeof GroundedSkybox>;
1730
+ groundProjectedEnvImpl: ThreeElement<typeof GroundedSkybox>;
1703
1731
  }
1704
1732
  }
1705
1733
  /**
@@ -1799,6 +1827,24 @@ declare module '@react-three/fiber' {
1799
1827
  */
1800
1828
  declare function Environment(props: EnvironmentProps): react_jsx_runtime.JSX.Element;
1801
1829
 
1830
+ /**
1831
+ * Moves every trace of interactivity from one object to its replacement, for reconstruction.
1832
+ *
1833
+ * When `args` or a `primitive`'s `object` changes, R3F builds a new three object and keeps the same
1834
+ * instance. Removing the old object from the interaction state and registering the new one from
1835
+ * scratch makes events *work* again (#3778), but it forgets what was in flight: a pointer resting on
1836
+ * the object fires a second `onPointerEnter` without ever having left, and an active pointer capture
1837
+ * is dropped mid-drag. Rewriting the references instead keeps the interaction continuous across a
1838
+ * swap the user never asked to see (#3744).
1839
+ *
1840
+ * Captures are re-keyed rather than released, so the DOM-level capture on `captureData.target` is
1841
+ * left alone — releasing and re-acquiring it is precisely the glitch being avoided.
1842
+ *
1843
+ * Visibility handlers are deliberately not transferred: that registry is keyed by `object.uuid`, so
1844
+ * the replacement re-registers itself through `applyProps`. The old entry is dropped here so it
1845
+ * cannot outlive the object it described.
1846
+ */
1847
+ declare function swapInteractivity(store: RootStore, object: Object3D, newObject: Object3D): void;
1802
1848
  declare function removeInteractivity(store: RootStore, object: Object3D): void;
1803
1849
  declare function createEvents(store: RootStore): {
1804
1850
  handlePointer: (name: string) => (event: DomEvent) => void;
@@ -3224,11 +3270,6 @@ declare function flushSync<R>(fn: () => R): R;
3224
3270
  declare const context: React$1.Context<RootStore>;
3225
3271
  declare const createStore: (invalidate: (state?: RootState, frames?: number, stackFrames?: boolean) => void, advance: (timestamp: number, runGlobalEffects?: boolean, state?: RootState, frame?: XRFrame) => void) => RootStore;
3226
3272
 
3227
- /**
3228
- * Safely flush async effects when testing, simulating a legacy root.
3229
- * @deprecated Import from React instead. import { act } from 'react'
3230
- */
3231
- declare const act: typeof React$1.act;
3232
3273
  /**
3233
3274
  * An SSR-friendly useLayoutEffect.
3234
3275
  *
@@ -3796,9 +3837,12 @@ declare function useUniforms<T extends UniformInputRecord>(uniforms: T): Uniform
3796
3837
  declare function useUniforms<T extends UniformInputRecord>(uniforms: T, scope: string): UniformsWithUtils<UniformRecord<UniformNode>>;
3797
3838
  /**
3798
3839
  * Global rebuildUniforms function for HMR integration.
3799
- * Clears cached uniforms and increments _hmrVersion to trigger re-creation.
3840
+ * Invalidates cached uniforms and increments _hmrVersion to trigger re-creation.
3800
3841
  * Call this when HMR is detected to refresh all uniform creators.
3801
3842
  *
3843
+ * Resolves to the primary store so shared TSL resources rebuild on the
3844
+ * authoritative store.
3845
+ *
3802
3846
  * @param store - The R3F store (from useStore or context)
3803
3847
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3804
3848
  */
@@ -3882,9 +3926,12 @@ declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCr
3882
3926
  declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCreator<T>, scope: string): NodesWithUtils<T>;
3883
3927
  /**
3884
3928
  * Global rebuildNodes function for HMR integration.
3885
- * Clears cached nodes and increments _hmrVersion to trigger re-creation.
3929
+ * Invalidates cached nodes and increments _hmrVersion to trigger re-creation.
3886
3930
  * Call this when HMR is detected to refresh all node creators.
3887
3931
  *
3932
+ * Resolves to the primary store so shared TSL resources rebuild on the
3933
+ * authoritative store.
3934
+ *
3888
3935
  * @param store - The R3F store (from useStore or context)
3889
3936
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3890
3937
  */
@@ -3961,9 +4008,12 @@ declare function useBuffers<T extends Record<string, BufferLike>>(creator: Buffe
3961
4008
  declare function useBuffers<T extends Record<string, BufferLike>>(creator: BufferCreator<T>, scope: string): BuffersWithUtils<T>;
3962
4009
  /**
3963
4010
  * Global rebuildBuffers function for HMR integration.
3964
- * Clears cached buffers and increments _hmrVersion to trigger re-creation.
4011
+ * Invalidates cached buffers and increments _hmrVersion to trigger re-creation.
3965
4012
  * Call this when HMR is detected to refresh all buffer creators.
3966
4013
  *
4014
+ * Resolves to the primary store so shared TSL resources rebuild on the
4015
+ * authoritative store.
4016
+ *
3967
4017
  * @param store - The R3F store (from useStore or context)
3968
4018
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3969
4019
  */
@@ -3995,14 +4045,34 @@ declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: S
3995
4045
  declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: StorageCreator<T>, scope: string): StorageWithUtils<T>;
3996
4046
  /**
3997
4047
  * Global rebuildStorage function for HMR integration.
3998
- * Clears cached storage and increments _hmrVersion to trigger re-creation.
4048
+ * Invalidates cached storage and increments _hmrVersion to trigger re-creation.
3999
4049
  * Call this when HMR is detected to refresh all storage creators.
4000
4050
  *
4051
+ * Resolves to the primary store so shared TSL resources rebuild on the
4052
+ * authoritative store.
4053
+ *
4001
4054
  * @param store - The R3F store (from useStore or context)
4002
4055
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
4003
4056
  */
4004
4057
  declare function rebuildAllStorage(store: ReturnType<typeof useStore>, scope?: string): void;
4005
4058
 
4059
+ /**
4060
+ * Re-export from core - useTextures is now a core R3F hook (a reactive Texture registry).
4061
+ *
4062
+ * This file maintains backwards compatibility for existing webgpu imports.
4063
+ */
4064
+
4065
+ /**
4066
+ * @deprecated The registry now stores plain `Texture` objects, not TSL nodes. Use `Texture` directly.
4067
+ * Kept as an alias for backwards compatibility.
4068
+ */
4069
+ type TextureEntry = Texture$1;
4070
+ /**
4071
+ * @deprecated The registry now stores plain `Texture` objects, not TSL nodes. Use `Texture` directly.
4072
+ * Kept as an alias for backwards compatibility.
4073
+ */
4074
+ type TextureNode = Texture$1;
4075
+
4006
4076
  interface TextureOperations {
4007
4077
  add: (key: string, value: any) => void;
4008
4078
  addMultiple: (items: Map<string, any> | Record<string, any>) => void;
@@ -4097,5 +4167,5 @@ interface WebGPURootState extends Omit<RootState, 'renderer' | 'gl' | 'internal'
4097
4167
  internal: WebGPUInternalState
4098
4168
  }
4099
4169
 
4100
- export { Block, Canvas, Environment, EnvironmentCube, EnvironmentMap, EnvironmentPortal, ErrorBoundary, FROM_REF, IsObject, ONCE, Portal, R3F_BUILD_LEGACY, R3F_BUILD_WEBGPU, REACT_INTERNAL_PROPS, RESERVED_PROPS, three_d as ReactThreeFiber, Texture, _roots, act, addAfterEffect, addEffect, addTail, advance, applyProps, attach, buildGraph, calculateDpr, clearNodeScope, clearRootNodes, clearRootUniforms, clearScope, context, createEvents, createPointerEvents, createPortal, createRoot, createScopedStore, createStore, createTextureOperations, detach, diffProps, dispose, createPointerEvents as events, extend, findInitialRoot, flushSync, fromRef, getInstanceProps, getPrimary, getPrimaryIds, getRootState, getUuidPrefix, hasConstructor, hasPrimary, invalidate, invalidateInstance, is, isColorRepresentation, isCopyable, isFromRef, isObject3D, isOnce, isOrthographicCamera, isRef, isRenderer, isTexture, isVectorLike, once, prepare, presetsObj, rebuildAllBuffers, rebuildAllNodes, rebuildAllStorage, rebuildAllUniforms, reconciler, registerPrimary, removeInteractivity, removeNodes, removeUniforms, resolve, unmountComponentAtNode, unregisterPrimary, updateCamera, updateFrustum, useBridge, useBuffers, useEnvironment, useFrame, useGPUStorage, useGraph, useInstanceHandle, useIsomorphicLayoutEffect, useLoader, useLocalNodes, useMutableCallback, useNodes, useRenderPipeline, useRenderTarget, useStore, useTexture, useTextures, useThree, useUniform, useUniforms, waitForPrimary };
4101
- export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, BufferCreator, BufferLike, BufferRecord, BufferStore, BuffersWithUtils, Camera, CameraProps, CanvasProps, CanvasSchedulerConfig, Catalogue, ClearBuffersFn, ClearNodesFn, ClearStorageFn, ClearUniformsFn, Color, ColorManagementConfig, ComputeFunction, ConstructorRepresentation, CreatorState, DefaultGLProps, DefaultRendererProps, Disposable, DisposeBuffersFn, DisposeOptions, DisposeStorageFn, DomEvent, Dpr, ElementProps, EnvironmentLoaderProps, EnvironmentProps, EquConfig, Euler, EventHandlers, EventManager, EventProps, Events, Extensions, FiberRoot, FilterFunction, FrameCallback, FrameNextCallback, FrameNextState, FrameState, Frameloop, GLProps, GLTFLike, GeometryProps, GeometryTransformProps, GlobalEffectType, GlobalRenderCallback, HostConfig, InferLoadResult, InjectState, InputLike, Instance, InstanceProps, WebGPUInternalState as InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, LegacyInternalState, LegacyRenderer, LegacyRootState, LoaderInstance, LoaderLike, LoaderResult, LocalNodeCreator, MappedTextureType, MathProps, MathRepresentation, MathType, MathTypes, Matrix3, Matrix4, Mutable, MutableOrReadonlyParameters, NodeCreator, NodeProps, NodeRecord, NodesWithUtils, NonFunctionKeys, ObjectMap, OffscreenCanvas$1 as OffscreenCanvas, Overwrite, Performance, PointerCaptureTarget, PointerState, PresetsType, PrimaryCanvasEntry, Properties, Quaternion, WebGPUR3FRenderer as R3FRenderer, RaycastableRepresentation, ReactProps, RebuildBuffersFn, RebuildNodesFn, RebuildStorageFn, RebuildUniformsFn, ReconcilerRoot, RemoveBuffersFn, RemoveNodesFn, RemoveStorageFn, RemoveUniformsFn, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, WebGPURootState as RootState, RootStore, ScopedStoreType, SetBlock, Size, StorageCreator, StorageLike, StorageRecord, StorageStore, StorageWithUtils, Subscription, TSLNode, TSLNodeInput, TextureInput, TextureOperations, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UniformCreator, UniformValue, UniformsWithUtils, UseTextureOptions, UseTexturesReturn, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, WebGPUDefaultProps, WebGPUProps, WebGPUShadowConfig, XRManager, XRPointerConfig };
4170
+ export { Block, Canvas, Environment, EnvironmentCube, EnvironmentMap, EnvironmentPortal, ErrorBoundary, FROM_REF, IsObject, ONCE, Portal, R3F_BUILD_LEGACY, R3F_BUILD_WEBGPU, REACT_INTERNAL_PROPS, RESERVED_PROPS, three_d as ReactThreeFiber, Texture, _roots, addAfterEffect, addEffect, addTail, advance, applyProps, attach, buildGraph, calculateDpr, clearNodeScope, clearRootNodes, clearRootUniforms, clearScope, context, createEvents, createPointerEvents, createPortal, createRoot, createScopedStore, createStore, createTextureOperations, detach, diffProps, dispose, createPointerEvents as events, extend, findInitialRoot, flushSync, fromRef, getInstanceProps, getPrimary, getPrimaryIds, getRootState, getUuidPrefix, hasConstructor, hasPrimary, invalidate, invalidateInstance, is, isColorRepresentation, isCopyable, isFromRef, isObject3D, isOnce, isOrthographicCamera, isRef, isRenderer, isTexture, isVectorLike, once, prepare, presetsObj, rebuildAllBuffers, rebuildAllNodes, rebuildAllStorage, rebuildAllUniforms, reconciler, registerPrimary, removeInteractivity, removeNodes, removeUniforms, resolve, swapInteractivity, unmountComponentAtNode, unregisterPrimary, updateCamera, updateFrustum, useBridge, useBuffers, useEnvironment, useFrame, useGPUStorage, useGraph, useInstanceHandle, useIsomorphicLayoutEffect, useLoader, useLocalNodes, useMutableCallback, useNodes, useRenderPipeline, useRenderTarget, useStore, useTexture, useTextures, useThree, useUniform, useUniforms, waitForPrimary };
4171
+ export type { Act, Args, ArgsProp, AttachFnType, AttachType, BackgroundConfig, BackgroundProp, BaseRendererProps, Bridge, BufferCreator, BufferLike, BufferRecord, BufferStore, BuffersWithUtils, Camera, CameraProps, CanvasProps, CanvasSchedulerConfig, Catalogue, ClearBuffersFn, ClearNodesFn, ClearStorageFn, ClearUniformsFn, Color, ColorManagementConfig, ComputeFunction, ConstructorRepresentation, CreatorState, DefaultGLProps, DefaultRendererProps, Disposable, DisposeBuffersFn, DisposeOptions, DisposeStorageFn, DomEvent, Dpr, ElementProps, EnvironmentLoaderProps, EnvironmentProps, EquConfig, Euler, EventHandlers, EventManager, EventProps, Events, Extensions, FiberRoot, FilterFunction, FrameCallback, FrameNextCallback, FrameNextState, FrameState, Frameloop, GLProps, GLTFLike, GeometryProps, GeometryTransformProps, GlobalEffectType, GlobalRenderCallback, HostConfig, InferLoadResult, InjectState, InputLike, Instance, InstanceProps, WebGPUInternalState as InternalState, Intersection, IntersectionEvent, IsAllOptional, IsOptional, Layers, LegacyInternalState, LegacyRenderer, LegacyRootState, LoaderInstance, LoaderLike, LoaderResult, LocalNodeCreator, MappedTextureType, MathProps, MathRepresentation, MathType, MathTypes, Matrix3, Matrix4, Mutable, MutableOrReadonlyParameters, NodeCreator, NodeProps, NodeRecord, NodesWithUtils, NonFunctionKeys, ObjectMap, OffscreenCanvas$1 as OffscreenCanvas, Overwrite, Performance, PointerCaptureTarget, PointerState, PresetsType, PrimaryCanvasEntry, Properties, Quaternion, WebGPUR3FRenderer as R3FRenderer, RaycastableRepresentation, ReactProps, RebuildBuffersFn, RebuildNodesFn, RebuildStorageFn, RebuildUniformsFn, ReconcilerRoot, RemoveBuffersFn, RemoveNodesFn, RemoveStorageFn, RemoveUniformsFn, RenderCallback, RenderProps, RenderTargetOptions, Renderer, RendererConfigExtended, RendererFactory, RendererProps, Root, WebGPURootState as RootState, RootStore, ScopedStoreType, SetBlock, Size, StorageCreator, StorageLike, StorageRecord, StorageStore, StorageWithUtils, Subscription, TSLNode, TSLNodeInput, TextureEntry, TextureInput, TextureNode, TextureOperations, TextureResult, ThreeCamera, ThreeElement, ThreeElements, ThreeElementsImpl, ThreeEvent, ThreeExports, ThreeToJSXElements, UnblockProps, UniformCreator, UniformValue, UniformsWithUtils, UseTextureOptions, UseTexturesReturn, Vector2, Vector3, Vector4, VectorRepresentation, Viewport, VisibilityEntry, WebGLDefaultProps, WebGLProps, WebGLShadowConfig, WebGPUDefaultProps, WebGPUProps, WebGPUShadowConfig, XRManager, XRPointerConfig };