Skip to content

TriangleStatistics beta ​

Interface of @v12-engine/editor

ts
export interface TriangleStatistics

The triangles drawn now, against what a frame may draw at each preset (QualityLook.triangles)

Members ​

budgets ​

ts
budgets: Record<QualityPreset, number>;

What a frame may draw at each preset, the game's over TRIANGLE_BUDGETS

drawn ​

ts
drawn: number;

The triangles of the frame drawn last: what is in view, the ground and the water too

fits ​

ts
fits?: QualityPreset;

The lightest preset the frame fits: none where it is over even the highest