DriftTexture · interface
TileSource
Where a tile's bytes come from. Resolving null means the source does not have it.
Explained in DriftTexture.
interface TileSourceimport type { TileSource } from '@driftengine/texture';Methods
fetch
fetch(hash: string): Promise<Uint8Array | null>| Parameter | Type | Description |
|---|---|---|
hash | string |