BudgetSample beta ā
Interface of @v12-engine/client
ts
export interface BudgetSampleWhat the work done in pieces took of the frames of the last second (FrameBudget.sample), for the š window and the editor's Metrics
Members ā
longest ā
ts
longest: number;The most one frame of the last second took of it, in milliseconds
ms ā
ts
ms: number;Milliseconds a frame all of it took, over the frames of the last second
total ā
ts
total: number;Milliseconds a frame all of it may take (FrameBudget.total)
works ā
ts
works: {
name: BudgetWork;
ms: number;
most: number;
waited: number;
}[];Each work, in the order it has the room in: what it took a frame, its most, and in how many frames it waited for want of room