UNPKG

typegpu

Version:

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

26 lines (25 loc) 1.82 kB
// NOTE: This is a barrel file, internal files should not import things from this file export * as d from "./data/index.js"; export * as std from "./std/index.js"; export * as common from "./common/index.js"; export { MissingBindGroupsError, MissingSlotValueError, MissingVertexBuffersError, NotUniformError, ResolutionError, } from "./errors.js"; export { isAccessor, isLazy, isMutableAccessor, isSlot } from "./core/slot/slotTypes.js"; export { isComparisonSampler, isSampler } from "./core/sampler/sampler.js"; export { isTexture } from "./core/texture/texture.js"; export { isUsableAsRender, isUsableAsSampled } from "./core/texture/usageExtension.js"; export { isBuffer, isUsableAsUniform, isUsableAsVertex, isUsableAsIndex, isUsableAsStorage, } from "./types.js"; export { isBufferBinding, isBufferShorthand, isMutableBinding, isReadonlyBinding, isUniformBinding, } from "./core/buffer/bufferBinding.js"; export { isBindGroup, isBindGroupLayout } from "./tgpuBindGroupLayout.js"; export { isTgpuFn } from "./core/function/tgpuFn.js"; export { isTgpuFragmentFn } from "./core/function/tgpuFragmentFn.js"; export { isTgpuVertexFn } from "./core/function/tgpuVertexFn.js"; export { isTgpuComputeFn } from "./core/function/tgpuComputeFn.js"; export { isComputePipeline, isPipeline, isRenderPipeline } from "./core/pipeline/typeGuards.js"; export { isQuerySet } from "./core/querySet/querySet.js"; export { isVariable } from "./core/variable/tgpuVariable.js"; export { isVertexLayout } from "./core/vertexLayout/vertexLayout.js"; export { /** @deprecated Import from 'typegpu/~internal' instead */ WgslGenerator, } from "./tgsl/wgslGenerator.js"; export { readFromArrayBuffer, writeToArrayBuffer } from "./data/dataIO.js"; export { patchArrayBuffer } from "./data/partialIO.js"; export { warn } from "./tgpuLogger.js";