Interfaces
CacheInfo
What tgfx is caching right now, in bytes.
Properties
gpuBytes
gpuBytes: number;GPU resources across the live canvas contexts, as of each canvas's last frame - a canvas publishes the number when it draws, so right after a purge this reads pre-purge until the canvases have drawn a frame.
imageBytes
imageBytes: number;Decoded CPU pixels resident in the image cache.
imageLimit
imageLimit: number;The budget those pixels are evicted against (setImageCacheLimit).
offscreenGpuBytes
offscreenGpuBytes: number;GPU resources held by the shared offscreen context (renderToImage,
renderToSvg/renderToPdf rasterization, encode).