RenderCounters class Debugging and profiling

Integer counters accumulated over a frame, a view, or a pass.

Constructors

RenderCounters()

Properties

batchedItems ↔ int
Nodes folded into those merged draws.
getter/setter pair
batches ↔ int
Opaque draw calls that merged several nodes into one instanced draw.
getter/setter pair
culled ↔ int
Items a frustum test rejected: a BVH subtree skipped whole, or the encoder's per-instance culling.
getter/setter pair
draws ↔ int
Draw calls issued (instanced draws count once).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
instances ↔ int
Instances drawn across all draw calls.
getter/setter pair
layerMasked ↔ int
Items rejected by the view's render layer mask.
getter/setter pair
pipelineBinds ↔ int
Pipeline binds that reached the backend (the encoder skips redundant binds, so this is the state-change count).
getter/setter pair
pipelineBuilds ↔ int
Pipelines built this frame. A nonzero steady-state value is a hitch.
getter/setter pair
pipelineRejected ↔ int
Items skipped because their pipeline failed to build.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
submitted ↔ int
Render items the pass considered, including hidden ones and the whole BVH subtrees the frustum rejected.
getter/setter pair
vertices ↔ int
Vertices (or indices, for indexed draws) processed, multiplied by the instance count.
getter/setter pair

Methods

copyFrom(RenderCounters other) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
setDelta(RenderCounters start, RenderCounters now) → void
Sets this to now - start.
toJson() → Map<String, int>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited