DriftTexture · const

TILE_ABSENT

What is here, what is on its way, and what is not.

Explained in DriftTexture.

const TILE_ABSENT = 0
import { TILE_ABSENT } from '@driftengine/texture';

In depth

The tile the current frame is sampling is never evicted. That is the one rule this structure exists to enforce: an eviction policy that can reclaim a tile in use produces a frame drawn against a page somebody else is writing, which is a corruption rather than a stall and does not look like a streaming problem at all.