Splats · type

WebpDecoder

What turns a WebP file's bytes into texels. See this file's header for why it is a parameter.

Explained in Gaussian splats.

type WebpDecoder = (bytes: Uint8Array) => Promise<DecodedImage>
import type { WebpDecoder } from '@driftengine/splats';