diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-06-04 23:17:59 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-13 12:21:50 -0700 |
commit | 2c6fcd9f44ff93593a3f21c9f993a1eb4b299bb4 (patch) | |
tree | d13e07bbb2568e6a75f1435dcc39f685a653c40f /src/mbgl/style/paint_property.hpp | |
parent | 2cbc3d3332e32054e9fdc5323fef8e98f5f99a79 (diff) | |
download | qtlocation-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.hpp | 3 |
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> |