summaryrefslogtreecommitdiff
path: root/src/mbgl/style/paint_property.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-06-04 23:17:59 +0200
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-06-13 12:21:50 -0700
commit2c6fcd9f44ff93593a3f21c9f993a1eb4b299bb4 (patch)
treed13e07bbb2568e6a75f1435dcc39f685a653c40f /src/mbgl/style/paint_property.hpp
parent2cbc3d3332e32054e9fdc5323fef8e98f5f99a79 (diff)
downloadqtlocation-mapboxgl-2c6fcd9f44ff93593a3f21c9f993a1eb4b299bb4.tar.gz
[core] add uniforms to DataDrivenPaintPropertys
Diffstat (limited to 'src/mbgl/style/paint_property.hpp')
-rw-r--r--src/mbgl/style/paint_property.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp
index cb86fd1a30..c4c996b3bd 100644
--- a/src/mbgl/style/paint_property.hpp
+++ b/src/mbgl/style/paint_property.hpp
@@ -23,7 +23,7 @@ public:
static constexpr bool IsDataDriven = false;
};
-template <class T, class A>
+template <class T, class A, class U>
class DataDrivenPaintProperty {
public:
using TransitionableType = Transitionable<DataDrivenPropertyValue<T>>;
@@ -34,6 +34,7 @@ public:
static constexpr bool IsDataDriven = true;
using Attribute = A;
+ using Uniform = U;
};
template <class T>