summaryrefslogtreecommitdiff
path: root/src/mbgl/shaders/shaders.hpp
blob: 513d37fa6f1856f7ebd528916f60b91a97331717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <string>

namespace mbgl {

class ProgramParameters;

namespace shaders {

std::string fragmentSource(const ProgramParameters&, const char* fragmentSource);
std::string vertexSource(const ProgramParameters&, const char* vertexSource);
std::string programIdentifier(const std::string& vertexSource, const std::string& fragmentSource);

} // namespace shaders
} // namespace mbgl