From 4a5dc37245d23805d13865f5ef9c5f26e539a9ca Mon Sep 17 00:00:00 2001 From: Molly Lloyd Date: Thu, 14 Jun 2018 14:35:39 -0700 Subject: [core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in `*-pattern` properties --- src/mbgl/renderer/render_layer.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mbgl/renderer/render_layer.hpp') diff --git a/src/mbgl/renderer/render_layer.hpp b/src/mbgl/renderer/render_layer.hpp index 3e2f1d7525..9f327c63e5 100644 --- a/src/mbgl/renderer/render_layer.hpp +++ b/src/mbgl/renderer/render_layer.hpp @@ -40,6 +40,9 @@ public: // Returns true if any paint properties have active transitions. virtual bool hasTransition() const = 0; + // Returns true if the layer has a pattern property and is actively crossfading. + virtual bool hasCrossfade() const = 0; + // Check whether this layer is of the given subtype. template bool is() const; -- cgit v1.2.1