typegpu
Version:
A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.
43 lines (42 loc) • 2.65 kB
TypeScript
export { declare } from './core/declare/tgpuDeclare.ts';
export { rawCodeSnippet } from './core/rawCodeSnippet/tgpuRawCodeSnippet.ts';
export { namespace } from './core/resolve/namespace.ts';
export { simulate } from './core/simulate/tgpuSimulate.ts';
import { constant } from './core/constant/tgpuConstant.ts';
import { comptime } from './core/function/comptime.ts';
import { computeFn } from './core/function/tgpuComputeFn.ts';
import { fn } from './core/function/tgpuFn.ts';
import { fragmentFn } from './core/function/tgpuFragmentFn.ts';
import { vertexFn } from './core/function/tgpuVertexFn.ts';
import { accessor, mutableAccessor } from './core/slot/accessor.ts';
import { lazy } from './core/slot/lazy.ts';
import { slot } from './core/slot/slot.ts';
import { privateVar, workgroupVar } from './core/variable/tgpuVariable.ts';
import { vertexLayout } from './core/vertexLayout/vertexLayout.ts';
/** @deprecated This feature is now stable, use tgpu.const. */
declare const _constant: typeof constant;
/** @deprecated This feature is now stable, use tgpu.comptime. */
declare const _comptime: typeof comptime;
/** @deprecated This feature is now stable, use tgpu.computeFn. */
declare const _computeFn: typeof computeFn;
/** @deprecated This feature is now stable, use tgpu.fn. */
declare const _fn: typeof fn;
/** @deprecated This feature is now stable, use tgpu.fragmentFn. */
declare const _fragmentFn: typeof fragmentFn;
/** @deprecated This feature is now stable, use tgpu.vertexFn. */
declare const _vertexFn: typeof vertexFn;
/** @deprecated This feature is now stable, use tgpu.accessor. */
declare const _accessor: typeof accessor;
/** @deprecated This feature is now stable, use tgpu.mutableAccessor. */
declare const _mutableAccessor: typeof mutableAccessor;
/** @deprecated This feature is now stable, use tgpu.lazy. */
declare const _lazy: typeof lazy;
/** @deprecated This feature is now stable, use tgpu.slot. */
declare const _slot: typeof slot;
/** @deprecated This feature is now stable, use tgpu.privateVar. */
declare const _privateVar: typeof privateVar;
/** @deprecated This feature is now stable, use tgpu.workgroupVar. */
declare const _workgroupVar: typeof workgroupVar;
/** @deprecated This feature is now stable, use tgpu.vertexLayout. */
declare const _vertexLayout: typeof vertexLayout;
export { _accessor as accessor, _comptime as comptime, _computeFn as computeFn, _constant as const, _fn as fn, _fragmentFn as fragmentFn, _lazy as derived, _mutableAccessor as mutableAccessor, _privateVar as privateVar, _slot as slot, _vertexFn as vertexFn, _vertexLayout as vertexLayout, _workgroupVar as workgroupVar, };