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.hpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp
index d1421dddb7..a9cb4e1ece 100644
--- a/src/mbgl/gfx/types.hpp
+++ b/src/mbgl/gfx/types.hpp
@@ -15,6 +15,45 @@ enum class PrimitiveType : uint8_t {
TriangleFan,
};
+enum class AttributeDataType : uint8_t {
+ Byte,
+ Byte2,
+ Byte3,
+ Byte4,
+
+ UByte,
+ UByte2,
+ UByte3,
+ UByte4,
+
+ Short,
+ Short2,
+ Short3,
+ Short4,
+
+ UShort,
+ UShort2,
+ UShort3,
+ UShort4,
+
+ Int,
+ Int2,
+ Int3,
+ Int4,
+
+ UInt,
+ UInt2,
+ UInt3,
+ UInt4,
+
+ Float,
+ Float2,
+ Float3,
+ Float4,
+
+ Invalid = 255,
+};
+
enum class ColorBlendEquationType : uint8_t {
Add,
Subtract,