blob: e427963f81cb80b57175227bc435a6834737dad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <string>
#include <utility>
namespace mbgl {
class ProgramParameters {
public:
ProgramParameters(float pixelRatio_ = 1.0,
bool overdraw_ = false,
std::string cacheDir_ = "")
: pixelRatio(pixelRatio_), overdraw(overdraw_), cacheDir(std::move(cacheDir_)) {
}
const float pixelRatio;
const bool overdraw;
const std::string cacheDir;
};
} // namespace mbgl
|