Nameless Engine
Loading...
Searching...
No Matches
ne::RenderStatistics::TaskTimeInfo Struct Reference

Public Attributes

float timeSpentLastFrameWaitingForGpuInMs = 0.0F
 
float timeSpentLastFrameOnFrustumCullingMeshesInMs = 0.0F
 
float timeSpentLastFrameOnFrustumCullingLightsInMs = 0.0F
 

Detailed Description

Groups info related to measuring time for specific tasks.

Member Data Documentation

◆ timeSpentLastFrameOnFrustumCullingLightsInMs

float ne::RenderStatistics::TaskTimeInfo::timeSpentLastFrameOnFrustumCullingLightsInMs = 0.0F

Total time that was spent last frame doing frustum culling for lights.

Remarks
Updated only after a frame is submitted.

◆ timeSpentLastFrameOnFrustumCullingMeshesInMs

float ne::RenderStatistics::TaskTimeInfo::timeSpentLastFrameOnFrustumCullingMeshesInMs = 0.0F

Total time that was spent last frame doing frustum culling for meshes.

Remarks
Updated only after a frame is submitted.

◆ timeSpentLastFrameWaitingForGpuInMs

float ne::RenderStatistics::TaskTimeInfo::timeSpentLastFrameWaitingForGpuInMs = 0.0F

Time (in milliseconds) that was spent last frame waiting for the GPU to finish using the new frame resource.

Remarks
If constantly bigger than zero then this might mean that you are GPU bound, if constantly zero then this might mean that you are CPU bound.

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