Table of Contents

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

float

FrameMs

Average milliseconds per frame - auto-calculated by the engine.

public float FrameMs { get; }

Property Value

float

TotalFrames

How many frames the engine has rendered since it was started.

public long TotalFrames { get; }

Property Value

long

Methods

LogFrame(string, FrameLog)

Logs a complete frame for performance profiling.

public void LogFrame(string path, FrameLog logMode = FrameLog.CpuGpu)

Parameters

path string

The path of the file to store the log in.

logMode FrameLog

Controls how the frame log is captured.