Nameless Engine
|
Public Attributes | |
std::pair< std::mutex, float > | mtxFrustumCullingMeshesTimeInMs |
std::pair< std::mutex, float > | mtxFrustumCullingLightsTimeInMs |
std::atomic< size_t > | iCulledMeshCount {0} |
std::atomic< size_t > | iCulledLightCount {0} |
std::atomic< size_t > | iDrawCallCount {0} |
Groups variables to continuously modify in the process of submitting a new frame. Variables here will be reset and saved to other struct as resulting values after a frame was submitted.
std::atomic<size_t> ne::RenderStatistics::FrameTemporaryStatistics::iCulledLightCount {0} |
Total number of lights discarded from submitting due to frustum culling.
std::atomic<size_t> ne::RenderStatistics::FrameTemporaryStatistics::iCulledMeshCount {0} |
Total number of meshes discarded from submitting due to frustum culling.
std::atomic<size_t> ne::RenderStatistics::FrameTemporaryStatistics::iDrawCallCount {0} |
Stores the total number of draw calls made last frame.
std::pair<std::mutex, float> ne::RenderStatistics::FrameTemporaryStatistics::mtxFrustumCullingLightsTimeInMs |
Time in milliseconds spent last frame on frustum culling lights.
std::pair<std::mutex, float> ne::RenderStatistics::FrameTemporaryStatistics::mtxFrustumCullingMeshesTimeInMs |
Time in milliseconds spent last frame on frustum culling meshes.