74 is_visible_ = visible;
103 auto draw_statistics_content() -> void;
111 auto draw_frame_statistics(
float overlay_width) -> void;
119 auto draw_profiler_section() -> void;
127 auto draw_memory_info_section(
float overlay_width) -> void;
134 auto draw_resources_section() -> void;
137 auto update_sample_data() -> void;
138 auto get_draw_call_breakdown(
const gfx::stats* stats, std::uint32_t& scene_calls, std::uint32_t& editor_calls, std::uint32_t& total_calls) -> void;
139 auto draw_primitive_counts(
const gfx::stats* stats,
const ImGuiIO& io) -> void;
140 auto draw_call_counts(
const gfx::stats* stats,
const ImGuiIO& io) -> void;
141 auto draw_profiler_bars(
const gfx::stats* stats) -> void;
142 auto draw_app_profiler_data() -> void;
143 auto draw_encoder_stats(
const gfx::stats* stats,
float item_height,
float item_height_with_spacing,
double to_cpu_ms) -> void;
144 auto draw_view_stats(
const gfx::stats* stats,
float item_height,
float item_height_with_spacing,
double to_cpu_ms,
double to_gpu_ms) -> void;
145 auto draw_gpu_memory_section(
const gfx::stats* stats, int64_t& gpu_memory_max,
float overlay_width) -> void;
146 auto draw_render_target_memory_section(
const gfx::stats* stats, int64_t& gpu_memory_max,
float overlay_width) -> void;
147 auto draw_texture_memory_section(
const gfx::stats* stats, int64_t& gpu_memory_max,
float overlay_width) -> void;
149 bool is_visible_{
false};
150 bool enable_gpu_profiler_{
false};
151 bool show_editor_stats_{
false};