GlFinishSamplerProfiler class
GPU profiler using glFinish() sampling for approximate GPU timing.
- Implemented types
Properties
- gl → dynamic
-
WebGL rendering context.
final
- 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.
override
-
dispose(
) → void -
Releases resources.
override
-
endFrame(
dynamic _) → PerfStats -
Completes frame timing and returns statistics.
override
-
markGpuBegin(
dynamic _) → void -
Marks the beginning of GPU work.
override
-
markGpuEnd(
dynamic _) → void -
Marks the end of GPU work.
override
-
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
Static Methods
-
tryCreate(
dynamic gl, {int stride = 30}) → GlFinishSamplerProfiler? - Attempts to create a glFinish sampler profiler if supported.