updateMemoryStats method
void
updateMemoryStats(
- Pointer<
RendererHandle> renderer, - int heapUsed,
- int heapTotal,
- int arrayBuffers,
Updates renderer's debug-overlay memory stats with heapUsed,
heapTotal, and arrayBuffers. Throws FFIException on failure.
Implementation
void updateMemoryStats(
Pointer<RendererHandle> renderer,
int heapUsed,
int heapTotal,
int arrayBuffers,
) {
_guard('Failed to update memory stats', () {
_generated.updateMemoryStats(
renderer.cast(),
heapUsed,
heapTotal,
arrayBuffers,
);
});
}