AdvancedPer-batch retained draw work
Starts at 1 and counts up with each capture; RenderGraphDebugger#reset restarts it
Every geometry referenced by a captured mesh
Structure of the resolved render graph
Every material referenced by a captured mesh
Every mesh active in at least one captured pass
Frame totals across all batches
Every texture bound by a captured material
Serialization version of this shape
JSON-serialisable capture of one rendered frame
Holds the render graph and every batch, mesh, geometry, material and texture the scene passes drew. A scene pass keeps ("retains") its draw commands between frames and rebuilds them only when something they depend on changes.