Model loading · type

BlendDecompress

Decompress one gzip stream or one zstd frame. Supplied by the host.

Explained in Importing models.

type BlendDecompress = (compressed: Uint8Array, codec: 'gzip' | 'zstd') => Uint8Array | Promise<Uint8Array>
import type { BlendDecompress } from '@driftengine/assets';