public sealed class GpuTimelineViewA frame's GPU passes, as a bar each.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Deliberately not a second flame chart. GPU work is a sequence of passes rather than a call tree — a pass has no caller and nothing runs "inside" another pass in any sense a timestamp can see — so a control that drew rows of nesting would be inventing structure that is not there. What a debug group gives is one level of grouping, which is what Level carries.
⚠ It says when the device cannot be timed rather than drawing nothing. Doc 20's B4 names timestamp queries as this panel's dependency and several real configurations do not have them — MoltenVK's statistics, GLES, WebGPU without the feature — so an empty chart would be indistinguishable from a frame with no passes in it.
⚠ The frame it shows is several frames old, and the label says which. Reading a query pool the GPU has not finished writing would mean stalling the frame thread on the device once per frame; GpuProfiler refuses to, so what is on screen is the oldest submission that has retired.
Fields and properties (9)
public const float RowHeightHow tall one bar is.
public const float MinimumBarWidthHow narrow a bar may be before it is not worth an element.
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public UiElement StatusThe line saying what the frame cost, or why there is nothing to show.
public UiElement LanesWhere the bars go.
public string? UnavailableWhy the device cannot be timed, or when it can.
public Func<GpuFrame>? SourceWhere the newest resolved frame comes from, or .
public GpuFrame FrameWhat it is showing.
Methods (4)
public void Show(GpuFrame resolved)Puts a frame on screen.
public void Realise()Rebuilds the bars for the current width.
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
protected override void OnRemoved()Called once, as the element leaves the document.
Used by (2)
- DiagnosticsModuleVixen.Editor.Diagnostics
- DiagnosticsPanelTestsVixen.Editor.App.Tests