UNPKG

@motion-core/motion-gpu

Version:

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

15 lines (14 loc) 1.08 kB
import { defineMaterial, resolveMaterial } from "./core/material.js"; import { toMotionGPUErrorReport } from "./core/error-report.js"; import { createCurrentWritable } from "./core/current-value.js"; import { createFrameRegistry } from "./core/frame-registry.js"; import { createMotionGPURuntimeLoop } from "./core/runtime-loop.js"; import { loadTexturesFromUrls } from "./core/texture-loader.js"; import { BlitPass } from "./passes/BlitPass.js"; import { CopyPass } from "./passes/CopyPass.js"; import { ShaderPass } from "./passes/ShaderPass.js"; import { ComputePass } from "./passes/ComputePass.js"; import { PingPongComputePass } from "./passes/PingPongComputePass.js"; import { applySchedulerPreset, captureSchedulerDebugSnapshot } from "./core/scheduler-helpers.js"; import "./core/advanced.js"; export { BlitPass, ComputePass, CopyPass, PingPongComputePass, ShaderPass, applySchedulerPreset, captureSchedulerDebugSnapshot, createCurrentWritable, createFrameRegistry, createMotionGPURuntimeLoop, defineMaterial, loadTexturesFromUrls, resolveMaterial, toMotionGPUErrorReport };