diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-21 07:14:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-21 07:14:46 +0200 |
commit | f02a283c06c51cb29f79e89754b31ffd6952d2e6 (patch) | |
tree | 2eb691e105b65d3ca0464ed00628dd0b0974955a /include/mgl/gl_macro.h | |
parent | 2d4457a5ee926eca221102ee70f118b305ea2670 (diff) |
Add vertex buffer
Diffstat (limited to 'include/mgl/gl_macro.h')
-rw-r--r-- | include/mgl/gl_macro.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/mgl/gl_macro.h b/include/mgl/gl_macro.h index a0bb16c..a3be960 100644 --- a/include/mgl/gl_macro.h +++ b/include/mgl/gl_macro.h @@ -49,8 +49,28 @@ #define GL_CLAMP_TO_EDGE 0x812F #define GL_LINEAR 0x2601 +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 #define GL_QUADS 0x0007 +#define GL_QUAD_STRIP 0x0008 +#define GL_POLYGON 0x0009 #define GL_PROJECTION 0x1701 +#define GL_STREAM_DRAW 0x88E0 +#define GL_STATIC_DRAW 0x88E4 +#define GL_DYNAMIC_DRAW 0x88E8 + +#define GL_ARRAY_BUFFER 0x8892 + +#define GL_FLOAT 0x1406 + +#define GL_VERTEX_ARRAY 0x8074 +#define GL_COLOR_ARRAY 0x8076 +#define GL_TEXTURE_COORD_ARRAY 0x8078 + #endif /* MGL_GL_MACRO_H */ |