@react-three/fiber 10.0.0-canary.2c50459 → 10.0.0-canary.4bc4a97

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,5 @@
1
1
  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';
2
+ 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
3
  import { Inspector } from 'three/addons/inspector/Inspector.js';
4
4
  import * as THREE$1 from 'three';
5
5
  import { Color as Color$1, ColorRepresentation, Euler as Euler$1, Loader, RenderTargetOptions as RenderTargetOptions$1 } from 'three';
@@ -11,7 +11,6 @@ import { FrameTimingState, FrameCallback as FrameCallback$1, SchedulerApi, UseFr
11
11
  export { AddPhaseOptions, FrameControls, FrameNextControls, FrameTimingState, RootOptions, Scheduler, SchedulerApi, UseFrameNextOptions, UseFrameOptions, getScheduler } from '@pmndrs/scheduler';
12
12
  import { Options } from 'react-use-measure';
13
13
  import * as react_jsx_runtime from 'react/jsx-runtime';
14
- import { ThreeElement as ThreeElement$1, Euler as Euler$3 } from '@react-three/fiber';
15
14
  import { GroundedSkybox } from 'three/examples/jsm/objects/GroundedSkybox.js';
16
15
 
17
16
  function _mergeNamespaces(n, m) {
@@ -49,12 +48,16 @@ type WebGLShadowMap = never;
49
48
 
50
49
  declare const WebGLRenderTarget: any;
51
50
 
51
+ declare const WebGLCubeRenderTarget: any;
52
+
52
53
  var THREE = /*#__PURE__*/_mergeNamespaces({
53
54
  __proto__: null,
55
+ CubeRenderTargetCompat: CubeRenderTarget,
54
56
  Inspector: Inspector,
55
57
  R3F_BUILD_LEGACY: R3F_BUILD_LEGACY,
56
58
  R3F_BUILD_WEBGPU: R3F_BUILD_WEBGPU,
57
59
  RenderTargetCompat: RenderTarget,
60
+ WebGLCubeRenderTarget: WebGLCubeRenderTarget,
58
61
  WebGLRenderTarget: WebGLRenderTarget,
59
62
  WebGLRenderer: WebGLRenderer,
60
63
  WebGLRendererParameters: WebGLRendererParameters,
@@ -498,7 +501,7 @@ interface InternalState {
498
501
  canvasTarget?: CanvasTarget
499
502
  /**
500
503
  * Whether multi-canvas rendering is active.
501
- * True when any canvas uses `target` prop to share a renderer.
504
+ * True when any canvas uses `renderer={{ primaryCanvas: 'id' }}` to share a renderer.
502
505
  * When true, setCanvasTarget is called before each render.
503
506
  */
504
507
  isMultiCanvas?: boolean
@@ -596,8 +599,8 @@ interface RootState {
596
599
  setSize: (width?: number, height?: number, top?: number, left?: number) => void
597
600
  /** Shortcut to manual setting the pixel ratio */
598
601
  setDpr: (dpr: Dpr) => void
599
- /** Shortcut to setting frameloop flags */
600
- setFrameloop: (frameloop: Frameloop) => void
602
+ /** Shortcut to setting frameloop flags. No args resets to 'always'. */
603
+ setFrameloop: (frameloop?: Frameloop) => void
601
604
  /** Set error state to propagate to error boundary */
602
605
  setError: (error: Error | null) => void
603
606
  /** Current error state (null when no error) */
@@ -615,7 +618,7 @@ interface RootState {
615
618
  /** Internal: refcount per texture key, driven by mounted useTexture consumers (registry enrollment is on by default) */
616
619
  _textureRefs: Map<string, number>
617
620
  /** WebGPU RenderPipeline instance - use useRenderPipeline() hook */
618
- renderPipeline: any | null // THREE.PostProcessing (will be THREE.RenderPipeline in future Three.js release)
621
+ renderPipeline: ThreeRenderPipeline | null
619
622
  /** Global TSL pass nodes for render pipeline - use useRenderPipeline() hook */
620
623
  passes: Record<string, any>
621
624
  /** Internal version counter for HMR - incremented by rebuildNodes/rebuildUniforms to bust memoization */
@@ -908,8 +911,6 @@ interface Instance<O = any> {
908
911
  attach?: AttachType<O>
909
912
  previousAttach?: any
910
913
  isHidden: boolean
911
- /** Deferred ref props to apply in commitMount */
912
- deferredRefs?: Array<{ prop: string; ref: React$1.RefObject<any> }>
913
914
  /** Set of props that have been applied via once() */
914
915
  appliedOnce?: Set<string>
915
916
  }
@@ -1146,10 +1147,21 @@ type RenderTargetOptions = RenderTargetOptions$1
1146
1147
  //* Global Types ==============================
1147
1148
 
1148
1149
  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
- }
1150
+ /**
1151
+ * Uniform node type.
1152
+ *
1153
+ * This is three's own `UniformNode`, not a re-declaration of it. It previously was a
1154
+ * hand-rolled `interface UniformNode<T> extends Node { value: T }`, which shadowed the real
1155
+ * exported type globally — so R3F's ~58 references resolved to an approximation that was
1156
+ * missing members three actually ships (`setName` among them) and had drifted to the wrong
1157
+ * arity when three made `UniformNode` two-parameter.
1158
+ *
1159
+ * three's signature is `UniformNode<TNodeType, TValue>`. R3F only ever varies the value type,
1160
+ * so the node type is fixed to `unknown` and the single parameter is kept for call-site
1161
+ * ergonomics. The result is three's structural type, so members stay in sync with the
1162
+ * installed three instead of needing to be mirrored by hand.
1163
+ */
1164
+ type UniformNode<T = unknown> = three_webgpu.UniformNode<unknown, T>
1153
1165
 
1154
1166
  /**
1155
1167
  * ShaderCallable - the return type of Fn()
@@ -1294,13 +1306,14 @@ declare module 'three/tsl' {
1294
1306
  ): ShaderCallable<R>
1295
1307
  }
1296
1308
 
1297
- /**
1298
- * RenderPipeline Types for useRenderPipeline hook (WebGPU only)
1299
- */
1300
-
1301
-
1302
-
1303
1309
  declare global {
1310
+ /**
1311
+ * three's own render pipeline type. Named here so the rest of R3F refers to three's shape
1312
+ * rather than `any`. three r183 renamed `PostProcessing` to `RenderPipeline`; our peer floor
1313
+ * is r185, so the new name is the only one.
1314
+ */
1315
+ type ThreeRenderPipeline = three_webgpu.RenderPipeline
1316
+
1304
1317
  /** Pass record - stores TSL pass nodes for render pipeline */
1305
1318
  type PassRecord = Record<string, any>
1306
1319
 
@@ -1315,7 +1328,7 @@ declare global {
1315
1328
  /** Current passes from state */
1316
1329
  passes: PassRecord
1317
1330
  /** RenderPipeline instance (null if not initialized) */
1318
- renderPipeline: any | null // THREE.PostProcessing (will be THREE.RenderPipeline in future Three.js release)
1331
+ renderPipeline: ThreeRenderPipeline | null
1319
1332
  /** Clear all passes from state */
1320
1333
  clearPasses: () => void
1321
1334
  /** Reset RenderPipeline entirely (clears PP + passes) */
@@ -1496,7 +1509,7 @@ declare namespace three_d {
1496
1509
  * a single WebGPURenderer using Three.js CanvasTarget API.
1497
1510
  *
1498
1511
  * Primary canvas: Has `id` prop, creates its own renderer, registers here
1499
- * Secondary canvas: Has `target="id"` prop, shares primary's renderer via CanvasTarget
1512
+ * Secondary canvas: Has `renderer={{ primaryCanvas: 'id' }}`, shares primary's renderer via CanvasTarget
1500
1513
  */
1501
1514
 
1502
1515
  interface PrimaryCanvasEntry {
@@ -1564,12 +1577,23 @@ type EnvironmentLoaderProps = {
1564
1577
  * const texture = useEnvironment({ preset: 'sunset' })
1565
1578
  * ```
1566
1579
  */
1567
- declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture$1<unknown> | CubeTexture;
1580
+ declare function useEnvironment({ files, path, preset, colorSpace, extensions, }?: Partial<EnvironmentLoaderProps>): Texture$1<unknown, THREE$1.TextureEventMap> | CubeTexture<unknown>;
1568
1581
  declare namespace useEnvironment {
1569
1582
  var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
1570
1583
  var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
1571
1584
  }
1572
- type EnvironmentLoaderPreloadOptions = Omit<EnvironmentLoaderProps, 'encoding'>;
1585
+ /**
1586
+ * Options accepted by `useEnvironment.preload`.
1587
+ *
1588
+ * `colorSpace` is deliberately omitted: preload only warms the loader cache, and colorSpace is
1589
+ * applied to the texture by `useEnvironment()` at use time, per consumer. Accepting it here would
1590
+ * advertise an option this function silently ignores.
1591
+ *
1592
+ * This previously read `Omit<…, 'encoding'>` — omitting a key that does not exist on
1593
+ * `EnvironmentLoaderProps`, a leftover from three's pre-`colorSpace` `encoding` API. That made the
1594
+ * type equivalent to the full props, so `colorSpace` was accepted and then dropped on the floor.
1595
+ */
1596
+ type EnvironmentLoaderPreloadOptions = Omit<EnvironmentLoaderProps, 'colorSpace'>;
1573
1597
  type EnvironmentLoaderClearOptions = Pick<EnvironmentLoaderProps, 'files' | 'preset'>;
1574
1598
 
1575
1599
  /**
@@ -1613,9 +1637,9 @@ type EnvironmentProps = {
1613
1637
  blur?: number;
1614
1638
  backgroundBlurriness?: number;
1615
1639
  backgroundIntensity?: number;
1616
- backgroundRotation?: Euler$3;
1640
+ backgroundRotation?: Euler;
1617
1641
  environmentIntensity?: number;
1618
- environmentRotation?: Euler$3;
1642
+ environmentRotation?: Euler;
1619
1643
  map?: Texture$1;
1620
1644
  preset?: PresetsType;
1621
1645
  scene?: Scene | React$1.RefObject<Scene>;
@@ -1699,7 +1723,7 @@ declare function EnvironmentCube({ background, scene, blur, backgroundBlurriness
1699
1723
  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
1724
  declare module '@react-three/fiber' {
1701
1725
  interface ThreeElements {
1702
- groundProjectedEnvImpl: ThreeElement$1<typeof GroundedSkybox>;
1726
+ groundProjectedEnvImpl: ThreeElement<typeof GroundedSkybox>;
1703
1727
  }
1704
1728
  }
1705
1729
  /**
@@ -1799,6 +1823,24 @@ declare module '@react-three/fiber' {
1799
1823
  */
1800
1824
  declare function Environment(props: EnvironmentProps): react_jsx_runtime.JSX.Element;
1801
1825
 
1826
+ /**
1827
+ * Moves every trace of interactivity from one object to its replacement, for reconstruction.
1828
+ *
1829
+ * When `args` or a `primitive`'s `object` changes, R3F builds a new three object and keeps the same
1830
+ * instance. Removing the old object from the interaction state and registering the new one from
1831
+ * scratch makes events *work* again (#3778), but it forgets what was in flight: a pointer resting on
1832
+ * the object fires a second `onPointerEnter` without ever having left, and an active pointer capture
1833
+ * is dropped mid-drag. Rewriting the references instead keeps the interaction continuous across a
1834
+ * swap the user never asked to see (#3744).
1835
+ *
1836
+ * Captures are re-keyed rather than released, so the DOM-level capture on `captureData.target` is
1837
+ * left alone — releasing and re-acquiring it is precisely the glitch being avoided.
1838
+ *
1839
+ * Visibility handlers are deliberately not transferred: that registry is keyed by `object.uuid`, so
1840
+ * the replacement re-registers itself through `applyProps`. The old entry is dropped here so it
1841
+ * cannot outlive the object it described.
1842
+ */
1843
+ declare function swapInteractivity(store: RootStore, object: Object3D, newObject: Object3D): void;
1802
1844
  declare function removeInteractivity(store: RootStore, object: Object3D): void;
1803
1845
  declare function createEvents(store: RootStore): {
1804
1846
  handlePointer: (name: string) => (event: DomEvent) => void;
@@ -1819,10 +1861,10 @@ declare function getLoader<L extends LoaderLike | ConstructorRepresentation<Load
1819
1861
  * Note: this hook's caller must be wrapped with `React.Suspense`
1820
1862
  * @see https://docs.pmnd.rs/react-three-fiber/api/hooks#useloader
1821
1863
  */
1822
- declare function useLoader<I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I, extensions?: Extensions<L>, onProgress?: (event: ProgressEvent<EventTarget>) => void): I extends any[] ? LoaderResult<L>[] : LoaderResult<L>;
1864
+ declare function useLoader<I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I, extensions?: Extensions<L>, onProgress?: (event: ProgressEvent<EventTarget>) => void, cacheKey?: InputLike): I extends any[] ? LoaderResult<L>[] : LoaderResult<L>;
1823
1865
  declare namespace useLoader {
1824
- var preload: <I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I, extensions?: Extensions<L>, onProgress?: (event: ProgressEvent<EventTarget>) => void) => void;
1825
- var clear: <I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I) => void;
1866
+ var preload: <I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I, extensions?: Extensions<L>, onProgress?: (event: ProgressEvent<EventTarget>) => void, cacheKey?: InputLike) => void;
1867
+ var clear: <I extends InputLike, L extends LoaderLike | ConstructorRepresentation<LoaderLike>>(loader: L, input: I, cacheKey?: InputLike) => void;
1826
1868
  var loader: typeof getLoader;
1827
1869
  }
1828
1870
 
@@ -3224,11 +3266,6 @@ declare function flushSync<R>(fn: () => R): R;
3224
3266
  declare const context: React$1.Context<RootStore>;
3225
3267
  declare const createStore: (invalidate: (state?: RootState, frames?: number, stackFrames?: boolean) => void, advance: (timestamp: number, runGlobalEffects?: boolean, state?: RootState, frame?: XRFrame) => void) => RootStore;
3226
3268
 
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
3269
  /**
3233
3270
  * An SSR-friendly useLayoutEffect.
3234
3271
  *
@@ -3796,9 +3833,12 @@ declare function useUniforms<T extends UniformInputRecord>(uniforms: T): Uniform
3796
3833
  declare function useUniforms<T extends UniformInputRecord>(uniforms: T, scope: string): UniformsWithUtils<UniformRecord<UniformNode>>;
3797
3834
  /**
3798
3835
  * Global rebuildUniforms function for HMR integration.
3799
- * Clears cached uniforms and increments _hmrVersion to trigger re-creation.
3836
+ * Invalidates cached uniforms and increments _hmrVersion to trigger re-creation.
3800
3837
  * Call this when HMR is detected to refresh all uniform creators.
3801
3838
  *
3839
+ * Resolves to the primary store so shared TSL resources rebuild on the
3840
+ * authoritative store.
3841
+ *
3802
3842
  * @param store - The R3F store (from useStore or context)
3803
3843
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3804
3844
  */
@@ -3882,9 +3922,12 @@ declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCr
3882
3922
  declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCreator<T>, scope: string): NodesWithUtils<T>;
3883
3923
  /**
3884
3924
  * Global rebuildNodes function for HMR integration.
3885
- * Clears cached nodes and increments _hmrVersion to trigger re-creation.
3925
+ * Invalidates cached nodes and increments _hmrVersion to trigger re-creation.
3886
3926
  * Call this when HMR is detected to refresh all node creators.
3887
3927
  *
3928
+ * Resolves to the primary store so shared TSL resources rebuild on the
3929
+ * authoritative store.
3930
+ *
3888
3931
  * @param store - The R3F store (from useStore or context)
3889
3932
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3890
3933
  */
@@ -3961,9 +4004,12 @@ declare function useBuffers<T extends Record<string, BufferLike>>(creator: Buffe
3961
4004
  declare function useBuffers<T extends Record<string, BufferLike>>(creator: BufferCreator<T>, scope: string): BuffersWithUtils<T>;
3962
4005
  /**
3963
4006
  * Global rebuildBuffers function for HMR integration.
3964
- * Clears cached buffers and increments _hmrVersion to trigger re-creation.
4007
+ * Invalidates cached buffers and increments _hmrVersion to trigger re-creation.
3965
4008
  * Call this when HMR is detected to refresh all buffer creators.
3966
4009
  *
4010
+ * Resolves to the primary store so shared TSL resources rebuild on the
4011
+ * authoritative store.
4012
+ *
3967
4013
  * @param store - The R3F store (from useStore or context)
3968
4014
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
3969
4015
  */
@@ -3995,14 +4041,34 @@ declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: S
3995
4041
  declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: StorageCreator<T>, scope: string): StorageWithUtils<T>;
3996
4042
  /**
3997
4043
  * Global rebuildStorage function for HMR integration.
3998
- * Clears cached storage and increments _hmrVersion to trigger re-creation.
4044
+ * Invalidates cached storage and increments _hmrVersion to trigger re-creation.
3999
4045
  * Call this when HMR is detected to refresh all storage creators.
4000
4046
  *
4047
+ * Resolves to the primary store so shared TSL resources rebuild on the
4048
+ * authoritative store.
4049
+ *
4001
4050
  * @param store - The R3F store (from useStore or context)
4002
4051
  * @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
4003
4052
  */
4004
4053
  declare function rebuildAllStorage(store: ReturnType<typeof useStore>, scope?: string): void;
4005
4054
 
4055
+ /**
4056
+ * Re-export from core - useTextures is now a core R3F hook (a reactive Texture registry).
4057
+ *
4058
+ * This file maintains backwards compatibility for existing webgpu imports.
4059
+ */
4060
+
4061
+ /**
4062
+ * @deprecated The registry now stores plain `Texture` objects, not TSL nodes. Use `Texture` directly.
4063
+ * Kept as an alias for backwards compatibility.
4064
+ */
4065
+ type TextureEntry = Texture$1;
4066
+ /**
4067
+ * @deprecated The registry now stores plain `Texture` objects, not TSL nodes. Use `Texture` directly.
4068
+ * Kept as an alias for backwards compatibility.
4069
+ */
4070
+ type TextureNode = Texture$1;
4071
+
4006
4072
  interface TextureOperations {
4007
4073
  add: (key: string, value: any) => void;
4008
4074
  addMultiple: (items: Map<string, any> | Record<string, any>) => void;
@@ -4097,5 +4163,5 @@ interface WebGPURootState extends Omit<RootState, 'renderer' | 'gl' | 'internal'
4097
4163
  internal: WebGPUInternalState
4098
4164
  }
4099
4165
 
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 };
4166
+ 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 };
4167
+ 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 };