mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:36:57 +02:00
Putting members of the ENgineStats class NOT public so they can keep their name proudly
This commit is contained in:
parent
b5028acde1
commit
aa085f6955
1 changed files with 2 additions and 4 deletions
|
@ -73,18 +73,16 @@ namespace render {
|
||||||
};
|
};
|
||||||
|
|
||||||
class EngineStats {
|
class EngineStats {
|
||||||
|
gpu::ContextStats _gpuStats;
|
||||||
|
QElapsedTimer _frameTimer;
|
||||||
public:
|
public:
|
||||||
using Config = EngineStatsConfig;
|
using Config = EngineStatsConfig;
|
||||||
using JobModel = Job::Model<EngineStats, Config>;
|
using JobModel = Job::Model<EngineStats, Config>;
|
||||||
|
|
||||||
EngineStats() { _frameTimer.start(); }
|
EngineStats() { _frameTimer.start(); }
|
||||||
|
|
||||||
gpu::ContextStats _gpuStats;
|
|
||||||
|
|
||||||
void configure(const Config& configuration) {}
|
void configure(const Config& configuration) {}
|
||||||
void run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext);
|
void run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext);
|
||||||
|
|
||||||
QElapsedTimer _frameTimer;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue