Renderer · type
ImageTexelDecoder
What turns an encoded image's bytes into texels.
Explained in Hello world.
type ImageTexelDecoder = (bytes: Uint8Array, type?: string) => Promise<ImageTexels>import type { ImageTexelDecoder } from '@driftengine/core';