blob: 93a13be091ed87cde5c334e21b03cce4b8a5bcf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <mbgl/gfx/types.hpp>
#include <mbgl/util/range.hpp>
namespace mbgl {
namespace gfx {
class DepthMode {
public:
DepthFunctionType func;
DepthMaskType mask;
Range<float> range;
static DepthMode disabled() {
return DepthMode { DepthFunctionType::Always, DepthMaskType::ReadOnly, { 0.0, 1.0 } };
}
};
} // namespace gfx
} // namespace mbgl
|