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) 997 B
import { defineMaterial, resolveMaterial } from "./material.js"; import { toMotionGPUErrorReport } from "./error-report.js"; import { createCurrentWritable } from "./current-value.js"; import { createFrameRegistry } from "./frame-registry.js"; import { createMotionGPURuntimeLoop } from "./runtime-loop.js"; import { loadTexturesFromUrls } from "./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 { PingPongShaderPass } from "../passes/PingPongShaderPass.js"; import "../passes/index.js"; export { BlitPass, ComputePass, CopyPass, PingPongComputePass, PingPongShaderPass, ShaderPass, createCurrentWritable, createFrameRegistry, createMotionGPURuntimeLoop, defineMaterial, loadTexturesFromUrls, resolveMaterial, toMotionGPUErrorReport };