Model loading · interface
DtexTiles
Where each tile's bytes sit in the latent payload, and what they hash to.
Explained in Importing models.
interface DtexTilesimport type { DtexTiles } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
offsetreadonly | Uint32Array | |
lengthreadonly | Uint32Array | |
hashreadonly | Uint32Array | Two words a tile, high first, as hashTile splits its 64 bits. |
payloadreadonly | Uint8Array | The payload the offsets index: tile-major, each tile's bytes in one run. |