RenderStatisticsclass
Rendering work for one root and its descendants, including fixed overlays. Timings measure CPU work, not GPU execution or window presentation. Preparation values describe the commands being rendered and remain unchanged when those commands are replayed.
Properties12
Showing 12 properties
public System.TimeSpan Sandbox.UI.RootPanel.RenderStatistics.CommandBuildTime { get; set; }
CPU time spent drawing panels, batching instances and preparing the render command list.
TimeSpan—public System.TimeSpan Sandbox.UI.RootPanel.RenderStatistics.CpuTime { get; set; }
Sum of the latest preparation timings and the last render's submission time. Excludes panel ticks, input handling, presentation and time waiting between stages.
TimeSpan—public int Sandbox.UI.RootPanel.RenderStatistics.DrawCalls { get; set; }
Direct UI batch, backdrop and CSS layer composite draw calls in the rendered command list. Excludes custom scene draws and passes used to prepare Painter layers or framebuffer grabs.
int—public int Sandbox.UI.RootPanel.RenderStatistics.FrameGrabs { get; set; }
Framebuffer grabs recorded for CSS and Painter backdrops, counting a shared grab only once.
int—public ulong Sandbox.UI.RootPanel.RenderStatistics.FrameNumber { get; set; }
Engine frame number of the last completed render. Use RenderCount to distinguish an unrendered root.
ulong—public int Sandbox.UI.RootPanel.RenderStatistics.Instances { get; set; }
Box and shape instances gathered into UI batches. A panel may contribute multiple instances.
int—public int Sandbox.UI.RootPanel.RenderStatistics.Layers { get; set; }
CSS panel layers composited into this root. Excludes layers inside individual Painter recordings.
int—public System.TimeSpan Sandbox.UI.RootPanel.RenderStatistics.LayoutTime { get; set; }
CPU time spent evaluating styles, calculating layout and applying the resulting layout.
TimeSpan—public int Sandbox.UI.RootPanel.RenderStatistics.PanelsCulled { get; set; }
Invisible or unlaid-out subtree roots skipped while preparing the rendered command list. Descendants of a skipped subtree are not traversed or counted. GPU clipping is not included.
int—public int Sandbox.UI.RootPanel.RenderStatistics.PanelsRendered { get; set; }
Visible panels visited while preparing the rendered command list, including containers without drawing commands.
int—public long Sandbox.UI.RootPanel.RenderStatistics.RenderCount { get; set; }
Number of completed executions of this root's command list over its lifetime. Includes manual, world-panel and offscreen rendering. Rebuilding commands does not increment this.
long—public System.TimeSpan Sandbox.UI.RootPanel.RenderStatistics.SubmissionTime { get; set; }
CPU time spent executing this root's render command list, including nested lists and custom draws.
TimeSpan—No results match this filter.