PerfProfiler class abstract
Interface for performance profiling implementations.
Constructors
- PerfProfiler.auto(dynamic gl)
-
Creates the best available profiler for the given WebGL context.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
beginFrame(
) → void - Starts timing a new frame.
-
dispose(
) → void - Releases resources.
-
endFrame(
dynamic gl) → PerfStats - Completes frame timing and returns statistics.
-
markGpuBegin(
dynamic gl) → void - Marks the beginning of GPU work.
-
markGpuEnd(
dynamic gl) → void - Marks the end of GPU work.
-
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.
inherited