Class EnginePerformance
- Namespace
- OmegaEngine
- Assembly
- OmegaEngine.dll
Tracks the performance/speed of the Engine.
public sealed class EnginePerformance
- Inheritance
-
EnginePerformance
- Inherited Members
- Extension Methods
Properties
Fps
Frames per second; auto-calculated by the engine.
public float Fps { get; }
Property Value
FrameMs
Average milliseconds per frame - auto-calculated by the engine.
public float FrameMs { get; }
Property Value
TotalFrames
How many frames the engine has rendered since it was started.
public long TotalFrames { get; }
Property Value
Methods
LogFrame(string, FrameLog)
Logs a complete frame for performance profiling.
public void LogFrame(string path, FrameLog logMode = FrameLog.CpuGpu)