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): number
import { progressiveOrder } from '@driftengine/texture';

Parameters

ParameterTypeDescription
tileCountnumber
outUint32Array

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.