3#include <Common/assertion.h>
18 void setLayer(std::size_t index,
const std::string& name);
20 void setRealStat(std::size_t index,
const std::string& name);
31 std::string m_progressTimeMeasurement;
32 std::vector<std::string> m_layerNames;
33 std::vector<std::string> m_integerStatNames;
34 std::vector<std::string> m_realStatNames;
41 m_progressTimeMeasurement = measurement;
46 if(index >= m_layerNames.size())
48 m_layerNames.resize(index + 1);
51 PH_ASSERT_LT(index, m_layerNames.size());
52 m_layerNames[index] = name;
57 if(index >= m_integerStatNames.size())
59 m_integerStatNames.resize(index + 1);
62 PH_ASSERT_LT(index, m_integerStatNames.size());
63 m_integerStatNames[index] = name;
68 if(index >= m_realStatNames.size())
70 m_realStatNames.resize(index + 1);
73 PH_ASSERT_LT(index, m_realStatNames.size());
74 m_realStatNames[index] = name;
79 return m_progressTimeMeasurement;
84 PH_ASSERT_LT(index, m_layerNames.size());
85 return m_layerNames[index];
90 PH_ASSERT_LT(index, m_integerStatNames.size());
91 return m_integerStatNames[index];
96 PH_ASSERT_LT(index, m_realStatNames.size());
97 return m_realStatNames[index];
102 return m_layerNames.size();
107 return m_integerStatNames.size();
112 return m_realStatNames.size();
Meta information for data related to ongoing render operation.
Definition RenderObservationInfo.h:15
std::string getProgressTimeMeasurement() const
Definition RenderObservationInfo.h:77
void setRealStat(std::size_t index, const std::string &name)
Definition RenderObservationInfo.h:66
std::string getRealStatName(std::size_t index) const
Definition RenderObservationInfo.h:94
void setProgressTimeMeasurement(const std::string &measurement)
Definition RenderObservationInfo.h:39
void setIntegerStat(std::size_t index, const std::string &name)
Definition RenderObservationInfo.h:55
std::size_t numRealStats() const
Definition RenderObservationInfo.h:110
std::size_t numIntegerStats() const
Definition RenderObservationInfo.h:105
std::size_t numLayers() const
Definition RenderObservationInfo.h:100
void setLayer(std::size_t index, const std::string &name)
Definition RenderObservationInfo.h:44
std::string getLayerName(std::size_t index) const
Definition RenderObservationInfo.h:82
std::string getIntegerStatName(std::size_t index) const
Definition RenderObservationInfo.h:88
The root for all renderer implementations.
Definition EEngineProject.h:6