summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/shaderdata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/shaderdata_p.h')
-rw-r--r--src/render/materialsystem/shaderdata_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/materialsystem/shaderdata_p.h b/src/render/materialsystem/shaderdata_p.h
index 90568eaea..6ce0c734c 100644
--- a/src/render/materialsystem/shaderdata_p.h
+++ b/src/render/materialsystem/shaderdata_p.h
@@ -71,6 +71,7 @@ class Q_AUTOTEST_EXPORT ShaderData : public BackendNode
{
public:
enum TransformType {
+ NoTransform = -1,
ModelToEye = 0,
ModelToWorld,
ModelToWorldDirection
@@ -87,7 +88,7 @@ public:
// Call by RenderViewJob
void markDirty();
- bool isPropertyToBeTransformed(const QString &name) const;
+ TransformType propertyTransformType(const QString &name) const;
QVariant getTransformedProperty(const QString &name, const QMatrix4x4 &viewMatrix);
// Called by FrameCleanupJob