summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/binary_program.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/binary_program.hpp')
-rw-r--r--src/mbgl/programs/binary_program.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/programs/binary_program.hpp b/src/mbgl/programs/binary_program.hpp
index 8690f3fd6f..1ae874800b 100644
--- a/src/mbgl/programs/binary_program.hpp
+++ b/src/mbgl/programs/binary_program.hpp
@@ -17,6 +17,7 @@ public:
std::string&& binaryCode,
std::string binaryIdentifier,
std::vector<std::pair<const std::string, gl::AttributeLocation>>&&,
+ std::vector<std::pair<const std::string, gl::UniformLocation>>&&,
std::vector<std::pair<const std::string, gl::UniformLocation>>&&);
std::string serialize() const;
@@ -33,6 +34,7 @@ public:
optional<gl::AttributeLocation> attributeLocation(const std::string& name) const;
gl::UniformLocation uniformLocation(const std::string& name) const;
+ gl::UniformLocation textureLocation(const std::string& name) const;
private:
gl::BinaryProgramFormat binaryFormat = 0;
@@ -40,6 +42,7 @@ private:
std::string binaryIdentifier;
std::vector<std::pair<const std::string, gl::AttributeLocation>> attributes;
std::vector<std::pair<const std::string, gl::UniformLocation>> uniforms;
+ std::vector<std::pair<const std::string, gl::UniformLocation>> textures;
};
} // namespace mbgl