diff options
Diffstat (limited to 'src/mbgl/style/layer_impl.hpp')
-rw-r--r-- | src/mbgl/style/layer_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/style/layer_impl.hpp b/src/mbgl/style/layer_impl.hpp index 014fb60348..948bbab619 100644 --- a/src/mbgl/style/layer_impl.hpp +++ b/src/mbgl/style/layer_impl.hpp @@ -41,8 +41,12 @@ public: // Utility function for automatic layer grouping. virtual void stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const = 0; + // Returns pointer to the statically allocated layer type info structure. virtual const LayerTypeInfo* getTypeInfo() const noexcept = 0; + // Populates the given \a fontStack with fonts being used by the layer. + virtual void populateFontStack(std::set<FontStack>& fontStack) const; + // Note: LayerType is deprecated, do not use it. const LayerType type; std::string id; |