Skip to content

drawBudgetReport

drawBudgetReport(gpuDraws, budget, counters, listDraws?): DrawBudgetReport

Defined in: sdk/src/render/drawBudget.ts:53

A frame’s draws by pass.

number

number

Readonly<Record<string, number>>

number = 0

DrawBudgetReport

gpuDraws is the device’s own count;

counters the frame’s engine counters by name (a frame stats report’s cppCounters), and

listDraws the lists’ count to use when the counters do not carry it (they are absent while the profiler is off).