DetailStats beta
Interface of @v12-engine/client
export interface DetailStatsHow many things are drawn at which level now, by kind (WorldDetail.stats), and what that costs
Members
files
files: {
loaded: number;
loading: number;
failed: number;
bytes: number;
impostors: number;
impostorBytes: number;
budget: number;
refused: number;
};The levels' files: loaded, still loading (drawn at the nearest level there is meanwhile), and those that did not load; the impostors made, and their atlases' bytes
fullTriangles
fullTriangles: number;What their triangles would add up to if every one were drawn at full
hidden
hidden: Record<DetailKind, number>;Of them, those not drawn at all (at a none level), by kind
levels
levels: Record<DetailKind, number[]>;How many of each kind are at each level, by its index: [at full, at level 1, ...]
shadowTriangles
shadowTriangles: number;Their shadows' triangles, as cast now (into each part of the shadows that takes them)
switches
switches: number;Levels changed in the last second: many tell a threshold sits where the camera rests
things
things: number;Things drawn by levels
triangles
triangles: number;Their triangles as drawn now, in view or not, and what they would be all at full