Struct FrameStats

Struct Documentation

struct FrameStats

Performance statistics accumulated during a single frame.

FrameStats tracks rendering and update performance metrics that are collected throughout the frame’s execution. Modules can read these statistics to make performance-based decisions or write to them to report their own contributions. The statistics are reset at the beginning of each frame.

Public Members

float frame_time = 0.0001f
int triangle_count
int drawcall_count
float scene_update_time
float mesh_draw_time