Class BenchmarkPresenter
- Namespace
- FrameOfReference.Presentation
- Assembly
- FrameOfReference.Presentation.dll
Performs rendering for the benchmark mode
public sealed class BenchmarkPresenter : Presenter, IDisposable
- Inheritance
-
BenchmarkPresenter
- Implements
- Inherited Members
- Extension Methods
Constructors
BenchmarkPresenter(Engine, Universe, Action<string>)
Creates a new benchmark presenter
public BenchmarkPresenter(Engine engine, Universe universe, Action<string> callback)
Parameters
engine
EngineThe engine to use for rendering
universe
UniverseThe universe to display
callback
Action<string>A delegate to execute after the benchmark is complete with the path of the result file
Methods
HookIn()
public override void HookIn()
Remarks
Will internally call Initialize() first, if you didn't
HookOut()
public override void HookOut()