DVUI

renderStats

RenderStats from the last completed frame: draw calls, triangles, vertices, texture binds, and textures created. Counters are reset at the start of each frame and snapshotted once rendering finishes, so this is stable to read at any point in the frame loop.

Parameters

#
self:*const Self
*const Self

Source

Implementation

#
pub fn renderStats(self: *const Self) RenderStats {
    return self.render_stats_last;
}