summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/value.hpp')
-rw-r--r--src/mbgl/gl/value.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mbgl/gl/value.hpp b/src/mbgl/gl/value.hpp
index 7b85a5ff4b..25f22aa038 100644
--- a/src/mbgl/gl/value.hpp
+++ b/src/mbgl/gl/value.hpp
@@ -4,6 +4,7 @@
#include <mbgl/gl/depth_mode.hpp>
#include <mbgl/gl/stencil_mode.hpp>
#include <mbgl/gl/color_mode.hpp>
+#include <mbgl/gl/cull_face_mode.hpp>
#include <mbgl/gl/attribute.hpp>
#include <mbgl/util/color.hpp>
#include <mbgl/util/size.hpp>
@@ -212,6 +213,27 @@ struct BindRenderbuffer {
static Type Get();
};
+struct CullFace {
+ using Type = CullFaceMode::CullFace;
+ static const constexpr Type Default = CullFaceMode::Disable;
+ static void Set(const Type&);
+ static Type Get();
+};
+
+struct CullFaceSide {
+ using Type = CullFaceMode::CullFaceSide;
+ static const constexpr Type Default = CullFaceMode::Back;
+ static void Set(const Type&);
+ static Type Get();
+};
+
+struct FrontFace {
+ using Type = CullFaceMode::FrontFace;
+ static const constexpr Type Default = CullFaceMode::CounterClockwise;
+ static void Set(const Type&);
+ static Type Get();
+};
+
struct BindTexture {
using Type = gl::TextureID;
static const constexpr Type Default = 0;