wesl-plugin
Version:
[](https://www.npmjs.com/package/wesl-plugin) [](https://wesl-lang.dev/)
21 lines (18 loc) • 479 B
TypeScript
/** @hidden */
declare module "*?link" {
import type { LinkParams } from "wesl";
const linkParams: LinkParams;
export default linkParams;
}
declare module "*?static" {
const wgsl: string;
export default wgsl;
}
/** @hidden */ // LATER move to separate package
declare module "*?bindingLayout" {
export const layouts: Record<string, GPUBindGroupLayoutEntry[]>;
export const layoutFunctions: Record<
string,
(device: GPUDevice) => GPUBindGroupLayout
>;
}