drawBudgetReport
drawBudgetReport(
gpuDraws,budget,counters,listDraws?):DrawBudgetReport
Defined in: sdk/src/render/drawBudget.ts:53
A frame’s draws by pass.
Parameters
Section titled “Parameters”gpuDraws
Section titled “gpuDraws”number
budget
Section titled “budget”number
counters
Section titled “counters”Readonly<Record<string, number>>
listDraws?
Section titled “listDraws?”number = 0
Returns
Section titled “Returns”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).