summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gfx/types.hpp')
-rw-r--r--src/mbgl/gfx/types.hpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp
index 6082d99017..4c6a040b1f 100644
--- a/src/mbgl/gfx/types.hpp
+++ b/src/mbgl/gfx/types.hpp
@@ -133,5 +133,33 @@ enum class BufferUsageType : uint8_t {
DynamicDraw,
};
+enum class TexturePixelType : uint8_t {
+ RGBA,
+ Alpha,
+ Stencil,
+ Depth,
+ Luminance,
+};
+
+enum class TextureChannelDataType : uint8_t {
+ UnsignedByte,
+ HalfFloat,
+};
+
+enum class TextureMipMapType : bool {
+ No,
+ Yes
+};
+
+enum class TextureFilterType : bool {
+ Nearest,
+ Linear,
+};
+
+enum class TextureWrapType : bool {
+ Clamp,
+ Repeat,
+};
+
} // namespace gfx
} // namespace mbgl