typegpu
Version:
A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.
15 lines (14 loc) • 514 B
TypeScript
import { type BaseData } from '../../data/wgslTypes.ts';
import type { TgpuMutable, TgpuReadonly, TgpuUniform } from './bufferBinding.ts';
/**
* @deprecated use TgpuUniform instead.
*/
export type TgpuBufferUniform<TData extends BaseData> = TgpuUniform<TData>;
/**
* @deprecated use TgpuReadonly instead.
*/
export type TgpuBufferReadonly<TData extends BaseData> = TgpuReadonly<TData>;
/**
* @deprecated use TgpuMutable instead.
*/
export type TgpuBufferMutable<TData extends BaseData> = TgpuMutable<TData>;