UNPKG

unplugin-typegpu

Version:

Build plugins for TypeGPU, enabling seamless JavaScript -> WGSL transpilation and improved debugging.

14 lines (13 loc) 395 B
import { n as PluginState } from "./common-BZrmpQ_X.js"; import * as t from "@babel/types"; import { NodePath } from "@babel/traverse"; //#region src/babel.d.ts declare function TypeGPUPlugin(): { name: string; pre(this: PluginState): void; visitor: { Program(this: PluginState, path: NodePath<t.Program>, state: PluginState): void; }; }; //#endregion export { TypeGPUPlugin as t };