UNPKG

typegpu

Version:

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

5 lines (4 loc) 249 B
import type { ISerialInput } from 'typed-binary'; import type { ISerialOutput } from 'typed-binary'; export declare function writeFloat16(output: ISerialOutput, value: number): void; export declare function readFloat16(input: ISerialInput): number;