Aggregated attribution data for a single render pass type, computed over the rolling frame history. More...
#include <inspector_overlay.hpp>
Public Attributes | |
| int | type = 0 |
| RenderPassType cast to int. | |
| const char * | name = "" |
| Human-readable pass name. | |
| bool | present = false |
| Pass appeared in the most recent frame. | |
| float | last_cpu_ms = 0.0f |
| CPU time_ms in the most recent frame. | |
| float | avg_cpu_ms = 0.0f |
| Mean CPU time_ms over recorded history. | |
| float | peak_cpu_ms = 0.0f |
| Worst CPU time_ms over recorded history. | |
| int | last_draw_calls = 0 |
| Draw calls in the most recent frame. | |
| int | peak_draw_calls = 0 |
| Worst draw-call count over history. | |
| std::size_t | samples = 0 |
| Number of recorded frames for this pass. | |
Aggregated attribution data for a single render pass type, computed over the rolling frame history.
| float pulp::inspect::InspectorOverlay::PassAttribution::avg_cpu_ms = 0.0f |
Mean CPU time_ms over recorded history.
| float pulp::inspect::InspectorOverlay::PassAttribution::last_cpu_ms = 0.0f |
CPU time_ms in the most recent frame.
| int pulp::inspect::InspectorOverlay::PassAttribution::last_draw_calls = 0 |
Draw calls in the most recent frame.
| const char* pulp::inspect::InspectorOverlay::PassAttribution::name = "" |
Human-readable pass name.
| float pulp::inspect::InspectorOverlay::PassAttribution::peak_cpu_ms = 0.0f |
Worst CPU time_ms over recorded history.
| int pulp::inspect::InspectorOverlay::PassAttribution::peak_draw_calls = 0 |
Worst draw-call count over history.
| bool pulp::inspect::InspectorOverlay::PassAttribution::present = false |
Pass appeared in the most recent frame.
| std::size_t pulp::inspect::InspectorOverlay::PassAttribution::samples = 0 |
Number of recorded frames for this pass.
| int pulp::inspect::InspectorOverlay::PassAttribution::type = 0 |
RenderPassType cast to int.