UNPKG

wesl-plugin

Version:

[![NPM Version](https://img.shields.io/npm/v/wesl-plugin)](https://www.npmjs.com/package/wesl-plugin) [![Static Badge](https://img.shields.io/badge/Read%20the%20-Docs-blue)](https://wesl-lang.dev/)

21 lines (18 loc) 479 B
/** @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 >; }