Add more Tracy markers in different renderables

This commit is contained in:
Alexander Bock
2020-08-18 12:58:40 +02:00
parent c4db2a8ff9
commit 88b6fdd9fe
23 changed files with 87 additions and 12 deletions

View File

@@ -30,6 +30,7 @@
#include <openspace/rendering/renderengine.h>
#include <openspace/scene/scene.h>
#include <openspace/util/updatestructures.h>
#include <ghoul/misc/profiling.h>
namespace {
constexpr openspace::properties::Property::PropertyInfo IntensityInfo = {
@@ -115,6 +116,8 @@ SceneGraphLightSource::SceneGraphLightSource(const ghoul::Dictionary& dictionary
}
bool SceneGraphLightSource::initialize() {
ZoneScoped
_sceneGraphNode =
global::renderEngine.scene()->sceneGraphNode(_sceneGraphNodeReference);
return _sceneGraphNode != nullptr;