@react-three/fiber 10.0.0-canary.0706a92 → 10.0.0-canary.0d86c23
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.cjs +1706 -1544
- package/dist/index.d.cts +64 -26
- package/dist/index.d.mts +64 -26
- package/dist/index.d.ts +64 -26
- package/dist/index.mjs +1709 -1547
- package/dist/legacy.cjs +1704 -1542
- package/dist/legacy.d.cts +64 -25
- package/dist/legacy.d.mts +64 -25
- package/dist/legacy.d.ts +64 -25
- package/dist/legacy.mjs +1706 -1544
- package/dist/webgpu/index.cjs +2121 -2201
- package/dist/webgpu/index.d.cts +80 -29
- package/dist/webgpu/index.d.mts +80 -29
- package/dist/webgpu/index.d.ts +80 -29
- package/dist/webgpu/index.mjs +2123 -2203
- package/package.json +5 -5
- package/readme.md +0 -1
- package/react-reconciler/constants.d.ts +0 -7
- package/react-reconciler/constants.js +0 -1
- package/react-reconciler/index.d.ts +0 -1044
- package/react-reconciler/index.js +0 -208
package/dist/webgpu/index.d.cts
CHANGED
|
@@ -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,
|
|
@@ -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:
|
|
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 */
|
|
@@ -1144,10 +1147,21 @@ type RenderTargetOptions = RenderTargetOptions$1
|
|
|
1144
1147
|
//* Global Types ==============================
|
|
1145
1148
|
|
|
1146
1149
|
declare global {
|
|
1147
|
-
/**
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
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>
|
|
1151
1165
|
|
|
1152
1166
|
/**
|
|
1153
1167
|
* ShaderCallable - the return type of Fn()
|
|
@@ -1292,13 +1306,14 @@ declare module 'three/tsl' {
|
|
|
1292
1306
|
): ShaderCallable<R>
|
|
1293
1307
|
}
|
|
1294
1308
|
|
|
1295
|
-
/**
|
|
1296
|
-
* RenderPipeline Types for useRenderPipeline hook (WebGPU only)
|
|
1297
|
-
*/
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
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
|
+
|
|
1302
1317
|
/** Pass record - stores TSL pass nodes for render pipeline */
|
|
1303
1318
|
type PassRecord = Record<string, any>
|
|
1304
1319
|
|
|
@@ -1313,7 +1328,7 @@ declare global {
|
|
|
1313
1328
|
/** Current passes from state */
|
|
1314
1329
|
passes: PassRecord
|
|
1315
1330
|
/** RenderPipeline instance (null if not initialized) */
|
|
1316
|
-
renderPipeline:
|
|
1331
|
+
renderPipeline: ThreeRenderPipeline | null
|
|
1317
1332
|
/** Clear all passes from state */
|
|
1318
1333
|
clearPasses: () => void
|
|
1319
1334
|
/** Reset RenderPipeline entirely (clears PP + passes) */
|
|
@@ -1562,12 +1577,23 @@ type EnvironmentLoaderProps = {
|
|
|
1562
1577
|
* const texture = useEnvironment({ preset: 'sunset' })
|
|
1563
1578
|
* ```
|
|
1564
1579
|
*/
|
|
1565
|
-
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>;
|
|
1566
1581
|
declare namespace useEnvironment {
|
|
1567
1582
|
var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
|
|
1568
1583
|
var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
|
|
1569
1584
|
}
|
|
1570
|
-
|
|
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'>;
|
|
1571
1597
|
type EnvironmentLoaderClearOptions = Pick<EnvironmentLoaderProps, 'files' | 'preset'>;
|
|
1572
1598
|
|
|
1573
1599
|
/**
|
|
@@ -1611,9 +1637,9 @@ type EnvironmentProps = {
|
|
|
1611
1637
|
blur?: number;
|
|
1612
1638
|
backgroundBlurriness?: number;
|
|
1613
1639
|
backgroundIntensity?: number;
|
|
1614
|
-
backgroundRotation?: Euler
|
|
1640
|
+
backgroundRotation?: Euler;
|
|
1615
1641
|
environmentIntensity?: number;
|
|
1616
|
-
environmentRotation?: Euler
|
|
1642
|
+
environmentRotation?: Euler;
|
|
1617
1643
|
map?: Texture$1;
|
|
1618
1644
|
preset?: PresetsType;
|
|
1619
1645
|
scene?: Scene | React$1.RefObject<Scene>;
|
|
@@ -1697,7 +1723,7 @@ declare function EnvironmentCube({ background, scene, blur, backgroundBlurriness
|
|
|
1697
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;
|
|
1698
1724
|
declare module '@react-three/fiber' {
|
|
1699
1725
|
interface ThreeElements {
|
|
1700
|
-
groundProjectedEnvImpl: ThreeElement
|
|
1726
|
+
groundProjectedEnvImpl: ThreeElement<typeof GroundedSkybox>;
|
|
1701
1727
|
}
|
|
1702
1728
|
}
|
|
1703
1729
|
/**
|
|
@@ -1797,6 +1823,24 @@ declare module '@react-three/fiber' {
|
|
|
1797
1823
|
*/
|
|
1798
1824
|
declare function Environment(props: EnvironmentProps): react_jsx_runtime.JSX.Element;
|
|
1799
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;
|
|
1800
1844
|
declare function removeInteractivity(store: RootStore, object: Object3D): void;
|
|
1801
1845
|
declare function createEvents(store: RootStore): {
|
|
1802
1846
|
handlePointer: (name: string) => (event: DomEvent) => void;
|
|
@@ -3222,11 +3266,6 @@ declare function flushSync<R>(fn: () => R): R;
|
|
|
3222
3266
|
declare const context: React$1.Context<RootStore>;
|
|
3223
3267
|
declare const createStore: (invalidate: (state?: RootState, frames?: number, stackFrames?: boolean) => void, advance: (timestamp: number, runGlobalEffects?: boolean, state?: RootState, frame?: XRFrame) => void) => RootStore;
|
|
3224
3268
|
|
|
3225
|
-
/**
|
|
3226
|
-
* Safely flush async effects when testing, simulating a legacy root.
|
|
3227
|
-
* @deprecated Import from React instead. import { act } from 'react'
|
|
3228
|
-
*/
|
|
3229
|
-
declare const act: typeof React$1.act;
|
|
3230
3269
|
/**
|
|
3231
3270
|
* An SSR-friendly useLayoutEffect.
|
|
3232
3271
|
*
|
|
@@ -3794,9 +3833,12 @@ declare function useUniforms<T extends UniformInputRecord>(uniforms: T): Uniform
|
|
|
3794
3833
|
declare function useUniforms<T extends UniformInputRecord>(uniforms: T, scope: string): UniformsWithUtils<UniformRecord<UniformNode>>;
|
|
3795
3834
|
/**
|
|
3796
3835
|
* Global rebuildUniforms function for HMR integration.
|
|
3797
|
-
*
|
|
3836
|
+
* Invalidates cached uniforms and increments _hmrVersion to trigger re-creation.
|
|
3798
3837
|
* Call this when HMR is detected to refresh all uniform creators.
|
|
3799
3838
|
*
|
|
3839
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
3840
|
+
* authoritative store.
|
|
3841
|
+
*
|
|
3800
3842
|
* @param store - The R3F store (from useStore or context)
|
|
3801
3843
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3802
3844
|
*/
|
|
@@ -3880,9 +3922,12 @@ declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCr
|
|
|
3880
3922
|
declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCreator<T>, scope: string): NodesWithUtils<T>;
|
|
3881
3923
|
/**
|
|
3882
3924
|
* Global rebuildNodes function for HMR integration.
|
|
3883
|
-
*
|
|
3925
|
+
* Invalidates cached nodes and increments _hmrVersion to trigger re-creation.
|
|
3884
3926
|
* Call this when HMR is detected to refresh all node creators.
|
|
3885
3927
|
*
|
|
3928
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
3929
|
+
* authoritative store.
|
|
3930
|
+
*
|
|
3886
3931
|
* @param store - The R3F store (from useStore or context)
|
|
3887
3932
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3888
3933
|
*/
|
|
@@ -3959,9 +4004,12 @@ declare function useBuffers<T extends Record<string, BufferLike>>(creator: Buffe
|
|
|
3959
4004
|
declare function useBuffers<T extends Record<string, BufferLike>>(creator: BufferCreator<T>, scope: string): BuffersWithUtils<T>;
|
|
3960
4005
|
/**
|
|
3961
4006
|
* Global rebuildBuffers function for HMR integration.
|
|
3962
|
-
*
|
|
4007
|
+
* Invalidates cached buffers and increments _hmrVersion to trigger re-creation.
|
|
3963
4008
|
* Call this when HMR is detected to refresh all buffer creators.
|
|
3964
4009
|
*
|
|
4010
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
4011
|
+
* authoritative store.
|
|
4012
|
+
*
|
|
3965
4013
|
* @param store - The R3F store (from useStore or context)
|
|
3966
4014
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3967
4015
|
*/
|
|
@@ -3993,9 +4041,12 @@ declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: S
|
|
|
3993
4041
|
declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: StorageCreator<T>, scope: string): StorageWithUtils<T>;
|
|
3994
4042
|
/**
|
|
3995
4043
|
* Global rebuildStorage function for HMR integration.
|
|
3996
|
-
*
|
|
4044
|
+
* Invalidates cached storage and increments _hmrVersion to trigger re-creation.
|
|
3997
4045
|
* Call this when HMR is detected to refresh all storage creators.
|
|
3998
4046
|
*
|
|
4047
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
4048
|
+
* authoritative store.
|
|
4049
|
+
*
|
|
3999
4050
|
* @param store - The R3F store (from useStore or context)
|
|
4000
4051
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
4001
4052
|
*/
|
|
@@ -4112,5 +4163,5 @@ interface WebGPURootState extends Omit<RootState, 'renderer' | 'gl' | 'internal'
|
|
|
4112
4163
|
internal: WebGPUInternalState
|
|
4113
4164
|
}
|
|
4114
4165
|
|
|
4115
|
-
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,
|
|
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 };
|
|
4116
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 };
|
package/dist/webgpu/index.d.mts
CHANGED
|
@@ -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,
|
|
@@ -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:
|
|
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 */
|
|
@@ -1144,10 +1147,21 @@ type RenderTargetOptions = RenderTargetOptions$1
|
|
|
1144
1147
|
//* Global Types ==============================
|
|
1145
1148
|
|
|
1146
1149
|
declare global {
|
|
1147
|
-
/**
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
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>
|
|
1151
1165
|
|
|
1152
1166
|
/**
|
|
1153
1167
|
* ShaderCallable - the return type of Fn()
|
|
@@ -1292,13 +1306,14 @@ declare module 'three/tsl' {
|
|
|
1292
1306
|
): ShaderCallable<R>
|
|
1293
1307
|
}
|
|
1294
1308
|
|
|
1295
|
-
/**
|
|
1296
|
-
* RenderPipeline Types for useRenderPipeline hook (WebGPU only)
|
|
1297
|
-
*/
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
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
|
+
|
|
1302
1317
|
/** Pass record - stores TSL pass nodes for render pipeline */
|
|
1303
1318
|
type PassRecord = Record<string, any>
|
|
1304
1319
|
|
|
@@ -1313,7 +1328,7 @@ declare global {
|
|
|
1313
1328
|
/** Current passes from state */
|
|
1314
1329
|
passes: PassRecord
|
|
1315
1330
|
/** RenderPipeline instance (null if not initialized) */
|
|
1316
|
-
renderPipeline:
|
|
1331
|
+
renderPipeline: ThreeRenderPipeline | null
|
|
1317
1332
|
/** Clear all passes from state */
|
|
1318
1333
|
clearPasses: () => void
|
|
1319
1334
|
/** Reset RenderPipeline entirely (clears PP + passes) */
|
|
@@ -1562,12 +1577,23 @@ type EnvironmentLoaderProps = {
|
|
|
1562
1577
|
* const texture = useEnvironment({ preset: 'sunset' })
|
|
1563
1578
|
* ```
|
|
1564
1579
|
*/
|
|
1565
|
-
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>;
|
|
1566
1581
|
declare namespace useEnvironment {
|
|
1567
1582
|
var preload: (preloadOptions?: EnvironmentLoaderPreloadOptions) => void;
|
|
1568
1583
|
var clear: (clearOptions?: EnvironmentLoaderClearOptions) => void;
|
|
1569
1584
|
}
|
|
1570
|
-
|
|
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'>;
|
|
1571
1597
|
type EnvironmentLoaderClearOptions = Pick<EnvironmentLoaderProps, 'files' | 'preset'>;
|
|
1572
1598
|
|
|
1573
1599
|
/**
|
|
@@ -1611,9 +1637,9 @@ type EnvironmentProps = {
|
|
|
1611
1637
|
blur?: number;
|
|
1612
1638
|
backgroundBlurriness?: number;
|
|
1613
1639
|
backgroundIntensity?: number;
|
|
1614
|
-
backgroundRotation?: Euler
|
|
1640
|
+
backgroundRotation?: Euler;
|
|
1615
1641
|
environmentIntensity?: number;
|
|
1616
|
-
environmentRotation?: Euler
|
|
1642
|
+
environmentRotation?: Euler;
|
|
1617
1643
|
map?: Texture$1;
|
|
1618
1644
|
preset?: PresetsType;
|
|
1619
1645
|
scene?: Scene | React$1.RefObject<Scene>;
|
|
@@ -1697,7 +1723,7 @@ declare function EnvironmentCube({ background, scene, blur, backgroundBlurriness
|
|
|
1697
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;
|
|
1698
1724
|
declare module '@react-three/fiber' {
|
|
1699
1725
|
interface ThreeElements {
|
|
1700
|
-
groundProjectedEnvImpl: ThreeElement
|
|
1726
|
+
groundProjectedEnvImpl: ThreeElement<typeof GroundedSkybox>;
|
|
1701
1727
|
}
|
|
1702
1728
|
}
|
|
1703
1729
|
/**
|
|
@@ -1797,6 +1823,24 @@ declare module '@react-three/fiber' {
|
|
|
1797
1823
|
*/
|
|
1798
1824
|
declare function Environment(props: EnvironmentProps): react_jsx_runtime.JSX.Element;
|
|
1799
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;
|
|
1800
1844
|
declare function removeInteractivity(store: RootStore, object: Object3D): void;
|
|
1801
1845
|
declare function createEvents(store: RootStore): {
|
|
1802
1846
|
handlePointer: (name: string) => (event: DomEvent) => void;
|
|
@@ -3222,11 +3266,6 @@ declare function flushSync<R>(fn: () => R): R;
|
|
|
3222
3266
|
declare const context: React$1.Context<RootStore>;
|
|
3223
3267
|
declare const createStore: (invalidate: (state?: RootState, frames?: number, stackFrames?: boolean) => void, advance: (timestamp: number, runGlobalEffects?: boolean, state?: RootState, frame?: XRFrame) => void) => RootStore;
|
|
3224
3268
|
|
|
3225
|
-
/**
|
|
3226
|
-
* Safely flush async effects when testing, simulating a legacy root.
|
|
3227
|
-
* @deprecated Import from React instead. import { act } from 'react'
|
|
3228
|
-
*/
|
|
3229
|
-
declare const act: typeof React$1.act;
|
|
3230
3269
|
/**
|
|
3231
3270
|
* An SSR-friendly useLayoutEffect.
|
|
3232
3271
|
*
|
|
@@ -3794,9 +3833,12 @@ declare function useUniforms<T extends UniformInputRecord>(uniforms: T): Uniform
|
|
|
3794
3833
|
declare function useUniforms<T extends UniformInputRecord>(uniforms: T, scope: string): UniformsWithUtils<UniformRecord<UniformNode>>;
|
|
3795
3834
|
/**
|
|
3796
3835
|
* Global rebuildUniforms function for HMR integration.
|
|
3797
|
-
*
|
|
3836
|
+
* Invalidates cached uniforms and increments _hmrVersion to trigger re-creation.
|
|
3798
3837
|
* Call this when HMR is detected to refresh all uniform creators.
|
|
3799
3838
|
*
|
|
3839
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
3840
|
+
* authoritative store.
|
|
3841
|
+
*
|
|
3800
3842
|
* @param store - The R3F store (from useStore or context)
|
|
3801
3843
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3802
3844
|
*/
|
|
@@ -3880,9 +3922,12 @@ declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCr
|
|
|
3880
3922
|
declare function useNodes<T extends Record<string, TSLNodeLike>>(creator: NodeCreator<T>, scope: string): NodesWithUtils<T>;
|
|
3881
3923
|
/**
|
|
3882
3924
|
* Global rebuildNodes function for HMR integration.
|
|
3883
|
-
*
|
|
3925
|
+
* Invalidates cached nodes and increments _hmrVersion to trigger re-creation.
|
|
3884
3926
|
* Call this when HMR is detected to refresh all node creators.
|
|
3885
3927
|
*
|
|
3928
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
3929
|
+
* authoritative store.
|
|
3930
|
+
*
|
|
3886
3931
|
* @param store - The R3F store (from useStore or context)
|
|
3887
3932
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3888
3933
|
*/
|
|
@@ -3959,9 +4004,12 @@ declare function useBuffers<T extends Record<string, BufferLike>>(creator: Buffe
|
|
|
3959
4004
|
declare function useBuffers<T extends Record<string, BufferLike>>(creator: BufferCreator<T>, scope: string): BuffersWithUtils<T>;
|
|
3960
4005
|
/**
|
|
3961
4006
|
* Global rebuildBuffers function for HMR integration.
|
|
3962
|
-
*
|
|
4007
|
+
* Invalidates cached buffers and increments _hmrVersion to trigger re-creation.
|
|
3963
4008
|
* Call this when HMR is detected to refresh all buffer creators.
|
|
3964
4009
|
*
|
|
4010
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
4011
|
+
* authoritative store.
|
|
4012
|
+
*
|
|
3965
4013
|
* @param store - The R3F store (from useStore or context)
|
|
3966
4014
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
3967
4015
|
*/
|
|
@@ -3993,9 +4041,12 @@ declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: S
|
|
|
3993
4041
|
declare function useGPUStorage<T extends Record<string, StorageLike>>(creator: StorageCreator<T>, scope: string): StorageWithUtils<T>;
|
|
3994
4042
|
/**
|
|
3995
4043
|
* Global rebuildStorage function for HMR integration.
|
|
3996
|
-
*
|
|
4044
|
+
* Invalidates cached storage and increments _hmrVersion to trigger re-creation.
|
|
3997
4045
|
* Call this when HMR is detected to refresh all storage creators.
|
|
3998
4046
|
*
|
|
4047
|
+
* Resolves to the primary store so shared TSL resources rebuild on the
|
|
4048
|
+
* authoritative store.
|
|
4049
|
+
*
|
|
3999
4050
|
* @param store - The R3F store (from useStore or context)
|
|
4000
4051
|
* @param scope - Optional scope to rebuild ('root' for root only, string for specific scope, undefined for all)
|
|
4001
4052
|
*/
|
|
@@ -4112,5 +4163,5 @@ interface WebGPURootState extends Omit<RootState, 'renderer' | 'gl' | 'internal'
|
|
|
4112
4163
|
internal: WebGPUInternalState
|
|
4113
4164
|
}
|
|
4114
4165
|
|
|
4115
|
-
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,
|
|
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 };
|
|
4116
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 };
|