API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classAssetCacheLayer
Debug layer that reports what the application's Loader currently holds: ready / pending / failed counts, estimated resident bytes broken down by asset type, and the heaviest resident assets. The snapshot walks the whole residency, so it is taken on an interval (refreshInterval) rather than every frame. Byte figures are the loader's own estimate and count CPU-side payloads only - see `AssetStats.bytes` for what they do and do not cover. Enable via DebugOverlay or by pressing F7 while the canvas has focus.
import { AssetCacheLayer } from '@codexo/exojs/debug'Debug layer that reports what the application's Loader currently holds: ready / pending / failed counts, estimated resident bytes broken down by asset type, and the heaviest resident assets.
The snapshot walks the whole residency, so it is taken on an interval (refreshInterval) rather than every frame. Byte figures are the loader's own estimate and count CPU-side payloads only - see `AssetStats.bytes` for what they do and do not cover.
Enable via DebugOverlay or by pressing F7 while the canvas has focus.
destroy(): voidrender(backend: RenderBackend): voidtopCount: numbervisible: boolean