DriftTexture · function

occupiedPages

How many pages are held. What a profiler panel shows beside the resident tile count.

Explained in DriftTexture.

function occupiedPages(cache: PageCache): number
import { occupiedPages } from '@driftengine/texture';

Parameters

ParameterTypeDescription
cachePageCache