DriftTexture · function
progressiveOrder
Fill out with the order to send tileCount tiles in. Returns how many were written.
Explained in DriftTexture.
function progressiveOrder(tileCount: number, out: Uint32Array): numberimport { progressiveOrder } from '@driftengine/texture';Parameters
| Parameter | Type | Description |
|---|---|---|
tileCount | number | |
out | Uint32Array |
In depth
A permutation: every tile appears exactly once, which the test asserts because an ordering that drops one is a material that never completes and never says why.