DriftTexture · interface

TileSource

Where a tile's bytes come from. Resolving null means the source does not have it.

Explained in DriftTexture.

interface TileSource
import type { TileSource } from '@driftengine/texture';

Methods

fetch

fetch(hash: string): Promise<Uint8Array | null>
ParameterTypeDescription
hashstring