summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/types.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-28 12:03:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-01 09:33:37 +0100
commit4372ce2b90a26d114fafa555227a5200c421878f (patch)
treed3995b51c4fe4d2fea83ea57ce308de0cd24b89c /src/mbgl/gfx/types.hpp
parent53628a455bba6448579cbb8e8cedf25de28a8b3f (diff)
downloadqtlocation-mapboxgl-4372ce2b90a26d114fafa555227a5200c421878f.tar.gz
[core] move StencilMode to gfx namespace
Diffstat (limited to 'src/mbgl/gfx/types.hpp')
-rw-r--r--src/mbgl/gfx/types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp
index 264fa67b04..8faa9dc7f9 100644
--- a/src/mbgl/gfx/types.hpp
+++ b/src/mbgl/gfx/types.hpp
@@ -55,5 +55,27 @@ enum class DepthMaskType : bool {
ReadWrite = true,
};
+enum class StencilFunctionType : uint8_t {
+ Never,
+ Less,
+ Equal,
+ LessEqual,
+ Greater,
+ NotEqual,
+ GreaterEqual,
+ Always,
+};
+
+enum class StencilOpType : uint8_t {
+ Zero,
+ Keep,
+ Replace,
+ Increment,
+ Decrement,
+ Invert,
+ IncrementWrap,
+ DecrementWrap,
+};
+
} // namespace gfx
} // namespace mbgl