diff options
Diffstat (limited to 'src/mbgl/shader/sdf_shader.hpp')
-rw-r--r-- | src/mbgl/shader/sdf_shader.hpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mbgl/shader/sdf_shader.hpp b/src/mbgl/shader/sdf_shader.hpp index a6e9d84fa3..f7fde3e539 100644 --- a/src/mbgl/shader/sdf_shader.hpp +++ b/src/mbgl/shader/sdf_shader.hpp @@ -10,23 +10,23 @@ class SDFShader : public Shader { public: SDFShader(gl::Context&, Defines defines = None); - UniformMatrix<4> u_matrix = {"u_matrix", *this}; - Uniform<std::array<GLfloat, 2>> u_extrude_scale = {"u_extrude_scale", *this}; - Uniform<Color> u_color = {"u_color", *this}; - Uniform<GLfloat> u_opacity = {"u_opacity", *this}; - Uniform<std::array<GLfloat, 2>> u_texsize = {"u_texsize", *this}; - Uniform<GLfloat> u_buffer = {"u_buffer", *this}; - Uniform<GLfloat> u_gamma = {"u_gamma", *this}; - Uniform<GLfloat> u_zoom = {"u_zoom", *this}; - Uniform<GLfloat> u_pitch = {"u_pitch", *this}; - Uniform<GLfloat> u_bearing = {"u_bearing", *this}; - Uniform<GLfloat> u_aspect_ratio = {"u_aspect_ratio", *this}; - Uniform<GLint> u_rotate_with_map = {"u_rotate_with_map",*this}; - Uniform<GLint> u_pitch_with_map = {"u_pitch_with_map",*this}; - Uniform<GLint> u_texture = {"u_texture", *this}; - Uniform<GLint> u_fadetexture = {"u_fadetexture", *this}; + UniformMatrix<4> u_matrix = {"u_matrix", *this}; + Uniform<std::array<float, 2>> u_extrude_scale = {"u_extrude_scale", *this}; + Uniform<Color> u_color = {"u_color", *this}; + Uniform<float> u_opacity = {"u_opacity", *this}; + Uniform<std::array<float, 2>> u_texsize = {"u_texsize", *this}; + Uniform<float> u_buffer = {"u_buffer", *this}; + Uniform<float> u_gamma = {"u_gamma", *this}; + Uniform<float> u_zoom = {"u_zoom", *this}; + Uniform<float> u_pitch = {"u_pitch", *this}; + Uniform<float> u_bearing = {"u_bearing", *this}; + Uniform<float> u_aspect_ratio = {"u_aspect_ratio", *this}; + Uniform<int32_t> u_rotate_with_map = {"u_rotate_with_map", *this}; + Uniform<int32_t> u_pitch_with_map = {"u_pitch_with_map", *this}; + Uniform<int32_t> u_texture = {"u_texture", *this}; + Uniform<int32_t> u_fadetexture = {"u_fadetexture", *this}; - void bind(GLbyte *offset) final; + void bind(int8_t* offset) final; }; } // namespace mbgl |