CumulativeRenderingStatistics class

Constructors

CumulativeRenderingStatistics({int? drawCalls, int? textureBytes, int? vertexBytes, int? graphicsPrograms, double? graphicsProgramsCreationTimeMillis, int? fboSwitchCount})

Properties

drawCalls ↔ int?
The number of draw calls in the last frame of the collection window. This value is not a total. It can decrease between two snapshots.
getter/setter pair
fboSwitchCount ↔ int?
The number of FBO switches since the renderer started. The value does not reset when collection stops or starts again. On web, the count starts from zero when collection starts.
getter/setter pair
graphicsPrograms ↔ int?
The number of graphics pipeline programs created since the renderer started. The value does not reset when collection stops or starts again.
getter/setter pair
graphicsProgramsCreationTimeMillis ↔ double?
The total amount of time spent on all graphics pipeline program creation since the renderer started, in milliseconds. On web, the time counts from the start of collection.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textureBytes ↔ int?
The amount of texture memory in use at the end of the collection window. The value is null on iOS and web.
getter/setter pair
vertexBytes ↔ int?
The amount of vertex memory (array and index buffer memory) in use at the end of the collection window. The value is null on iOS and web.
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) → CumulativeRenderingStatistics