OmegaEngine API  1.0.3
Public Member Functions | Properties | List of all members
OmegaEngine.EnginePerformance Class Reference

Tracks the performance/speed of the Engine. More...

Public Member Functions

void LogFrame (string path, FrameLog logMode=FrameLog.CpuGpu)
 Logs a complete frame for performance profiling. More...
 

Properties

float Fps [get]
 Frames per second; auto-calculated by the engine. More...
 
float FrameMs [get]
 Average milliseconds per frame - auto-calculated by the engine. More...
 
long TotalFrames [get]
 How many frames the engine has rendered since it was started. More...
 

Detailed Description

Tracks the performance/speed of the Engine.

Member Function Documentation

◆ LogFrame()

void OmegaEngine.EnginePerformance.LogFrame ( string  path,
FrameLog  logMode = FrameLog.CpuGpu 
)
inline

Logs a complete frame for performance profiling.

Parameters
pathThe path of the file to store the log in.
logModeControls how the frame log is captured.

Property Documentation

◆ Fps

float OmegaEngine.EnginePerformance.Fps
get

Frames per second; auto-calculated by the engine.

◆ FrameMs

float OmegaEngine.EnginePerformance.FrameMs
get

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

◆ TotalFrames

long OmegaEngine.EnginePerformance.TotalFrames
get

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


The documentation for this class was generated from the following file: