DriftTexture · interface

TileIndex

Explained in DriftTexture.

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

Properties

NameTypeDescription
slotsMap<string, number>Slot per hash.
bytesUint8Array[]The bytes each slot holds.