Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::inspect::InspectorOverlay::PassAttribution Struct Reference

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.

Detailed Description

Aggregated attribution data for a single render pass type, computed over the rolling frame history.

Member Data Documentation

◆ avg_cpu_ms

float pulp::inspect::InspectorOverlay::PassAttribution::avg_cpu_ms = 0.0f

Mean CPU time_ms over recorded history.

◆ last_cpu_ms

float pulp::inspect::InspectorOverlay::PassAttribution::last_cpu_ms = 0.0f

CPU time_ms in the most recent frame.

◆ last_draw_calls

int pulp::inspect::InspectorOverlay::PassAttribution::last_draw_calls = 0

Draw calls in the most recent frame.

◆ name

const char* pulp::inspect::InspectorOverlay::PassAttribution::name = ""

Human-readable pass name.

◆ peak_cpu_ms

float pulp::inspect::InspectorOverlay::PassAttribution::peak_cpu_ms = 0.0f

Worst CPU time_ms over recorded history.

◆ peak_draw_calls

int pulp::inspect::InspectorOverlay::PassAttribution::peak_draw_calls = 0

Worst draw-call count over history.

◆ present

bool pulp::inspect::InspectorOverlay::PassAttribution::present = false

Pass appeared in the most recent frame.

◆ samples

std::size_t pulp::inspect::InspectorOverlay::PassAttribution::samples = 0

Number of recorded frames for this pass.

◆ type

int pulp::inspect::InspectorOverlay::PassAttribution::type = 0

RenderPassType cast to int.


The documentation for this struct was generated from the following file: