UNPKG

typegpu

Version:

A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.

3 lines (2 loc) 112 B
import { type TgpuLazy } from './slotTypes.ts'; export declare function lazy<T>(compute: () => T): TgpuLazy<T>;