diff options
Diffstat (limited to 'src/mbgl/style/layers')
-rw-r--r-- | src/mbgl/style/layers/fill_extrusion_layer_properties.hpp | 11 | ||||
-rw-r--r-- | src/mbgl/style/layers/fill_layer_properties.hpp | 11 | ||||
-rw-r--r-- | src/mbgl/style/layers/line_layer_properties.hpp | 11 |
3 files changed, 30 insertions, 3 deletions
diff --git a/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp b/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp index 60a2340b0d..1f17f1ff32 100644 --- a/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp @@ -32,7 +32,16 @@ struct FillExtrusionOpacity : PaintProperty<float> { static float defaultValue() { return 1; } }; -struct FillExtrusionPattern : CrossFadedDataDrivenPaintProperty<expression::Image, attributes::pattern_to, uniforms::pattern_to, attributes::pattern_from, uniforms::pattern_from> { +struct FillExtrusionPattern : CrossFadedDataDrivenPaintProperty< + expression::Image, + attributes::pattern_to, + uniforms::pattern_to, + attributes::pattern_from, + uniforms::pattern_from, + attributes::pixel_ratio_to, + uniforms::pixel_ratio_to, + attributes::pixel_ratio_from, + uniforms::pixel_ratio_from> { static expression::Image defaultValue() { return {}; } }; diff --git a/src/mbgl/style/layers/fill_layer_properties.hpp b/src/mbgl/style/layers/fill_layer_properties.hpp index 7867fe8f0c..3890615275 100644 --- a/src/mbgl/style/layers/fill_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_layer_properties.hpp @@ -37,7 +37,16 @@ struct FillOutlineColor : DataDrivenPaintProperty<Color, attributes::outline_col static Color defaultValue() { return {}; } }; -struct FillPattern : CrossFadedDataDrivenPaintProperty<expression::Image, attributes::pattern_to, uniforms::pattern_to, attributes::pattern_from, uniforms::pattern_from> { +struct FillPattern : CrossFadedDataDrivenPaintProperty< + expression::Image, + attributes::pattern_to, + uniforms::pattern_to, + attributes::pattern_from, + uniforms::pattern_from, + attributes::pixel_ratio_to, + uniforms::pixel_ratio_to, + attributes::pixel_ratio_from, + uniforms::pixel_ratio_from> { static expression::Image defaultValue() { return {}; } }; diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp index b2bd4aa401..2725e55158 100644 --- a/src/mbgl/style/layers/line_layer_properties.hpp +++ b/src/mbgl/style/layers/line_layer_properties.hpp @@ -73,7 +73,16 @@ struct LineOpacity : DataDrivenPaintProperty<float, attributes::opacity, uniform static float defaultValue() { return 1; } }; -struct LinePattern : CrossFadedDataDrivenPaintProperty<expression::Image, attributes::pattern_to, uniforms::pattern_to, attributes::pattern_from, uniforms::pattern_from> { +struct LinePattern : CrossFadedDataDrivenPaintProperty< + expression::Image, + attributes::pattern_to, + uniforms::pattern_to, + attributes::pattern_from, + uniforms::pattern_from, + attributes::pixel_ratio_to, + uniforms::pixel_ratio_to, + attributes::pixel_ratio_from, + uniforms::pixel_ratio_from> { static expression::Image defaultValue() { return {}; } }; |