summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp')
-rw-r--r--src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp b/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp
index d22c3c3..279946a 100644
--- a/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp
+++ b/src/runtimerender/graphobjects/Qt3DSRenderEffect.cpp
@@ -42,6 +42,7 @@ void SEffect::Initialize()
m_NextEffect = NULL;
m_Context = NULL;
m_imageMaps = nullptr;
+ m_error = CRegisteredString();
}
void SEffect::SetActive(bool inActive, IEffectSystem &inManager)
@@ -60,3 +61,13 @@ void SEffect::Reset(IEffectSystem &inSystem)
inSystem.ResetEffectFrameData(*m_Context);
m_Flags.SetDirty(true);
}
+
+CRegisteredString SEffect::GetError() const
+{
+ return m_error;
+}
+
+void SEffect::SetError(const CRegisteredString &error)
+{
+ m_error = error;
+}