UNPKG

@motion-core/motion-gpu

Version:

Framework-agnostic WebGPU runtime for fullscreen WGSL shaders with explicit Svelte, React, and Vue adapter entrypoints.

14 lines 653 B
import type { MotionGPUContext } from '../core/motiongpu-context.js'; export type { FrameProfilingSnapshot, FrameRunTimings, FrameScheduleSnapshot, MotionGPUContext, MotionGPUScheduler, MotionGPUUserContext, MotionGPUUserNamespace } from '../core/motiongpu-context.js'; /** * Internal React context container. */ export declare const MotionGPUReactContext: import("react").Context<MotionGPUContext | null>; /** * Returns active MotionGPU runtime context. * * @returns Active context. * @throws {Error} When called outside `<FragCanvas>`. */ export declare function useMotionGPU(): MotionGPUContext; //# sourceMappingURL=motiongpu-context.d.ts.map