diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-27 14:03:07 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | 3f1d754369fe0a12f924c3dd47ad028c98b8e3b7 (patch) | |
tree | afaf6bdc08b3926afbac64322830611bc427c224 /src/mbgl/programs/attributes.hpp | |
parent | cd06b550dd95d6690daf0a34cd9733ae581ed5b9 (diff) | |
download | qtlocation-mapboxgl-3f1d754369fe0a12f924c3dd47ad028c98b8e3b7.tar.gz |
[core] rename gl::AttributeType to gl::Attribute to free up the name
Diffstat (limited to 'src/mbgl/programs/attributes.hpp')
-rw-r--r-- | src/mbgl/programs/attributes.hpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mbgl/programs/attributes.hpp b/src/mbgl/programs/attributes.hpp index 4a20db43b9..d5508e8f1a 100644 --- a/src/mbgl/programs/attributes.hpp +++ b/src/mbgl/programs/attributes.hpp @@ -35,126 +35,126 @@ MBGL_DEFINE_ATTRIBUTE(uint8_t, 2, a_placed); template <typename T, std::size_t N> struct a_data { static auto name() { return "a_data"; } - using Type = gl::AttributeType<T, N>; + using Type = gl::Attribute<T, N>; }; struct a_size { static auto name() { return "a_size"; } - using Type = gl::AttributeType<uint16_t, 3>; + using Type = gl::Attribute<uint16_t, 3>; }; template <std::size_t N> struct a_offset { static auto name() { return "a_offset"; } - using Type = gl::AttributeType<int16_t, N>; + using Type = gl::Attribute<int16_t, N>; }; // Paint attributes struct a_color { static auto name() { return "a_color"; } - using Type = gl::AttributeType<float, 2>; + using Type = gl::Attribute<float, 2>; }; struct a_fill_color { static auto name() { return "a_fill_color"; } - using Type = gl::AttributeType<float, 2>; + using Type = gl::Attribute<float, 2>; }; struct a_halo_color { static auto name() { return "a_halo_color"; } - using Type = gl::AttributeType<float, 2>; + using Type = gl::Attribute<float, 2>; }; struct a_stroke_color { static auto name() { return "a_stroke_color"; } - using Type = gl::AttributeType<float, 2>; + using Type = gl::Attribute<float, 2>; }; struct a_outline_color { static auto name() { return "a_outline_color"; } - using Type = gl::AttributeType<float, 2>; + using Type = gl::Attribute<float, 2>; }; struct a_opacity { static auto name() { return "a_opacity"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_stroke_opacity { static auto name() { return "a_stroke_opacity"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_blur { static auto name() { return "a_blur"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_radius { static auto name() { return "a_radius"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_width { static auto name() { return "a_width"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_floorwidth { static auto name() { return "a_floorwidth"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_height { static auto name() { return "a_height"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_base { static auto name() { return "a_base"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_gapwidth { static auto name() { return "a_gapwidth"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_stroke_width { static auto name() { return "a_stroke_width"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; template <> struct a_offset<1> { static auto name() { return "a_offset"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_halo_width { static auto name() { return "a_halo_width"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_halo_blur { static auto name() { return "a_halo_blur"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_weight { static auto name() { return "a_weight"; } - using Type = gl::AttributeType<float, 1>; + using Type = gl::Attribute<float, 1>; }; struct a_pattern_to { static auto name() { return "a_pattern_to"; } - using Type = gl::AttributeType<uint16_t, 4>; + using Type = gl::Attribute<uint16_t, 4>; }; struct a_pattern_from { static auto name() { return "a_pattern_from"; } - using Type = gl::AttributeType<uint16_t, 4>; + using Type = gl::Attribute<uint16_t, 4>; }; } // namespace attributes |