Go to the documentation of this file.
18 #ifndef GLUS_DEFINE_H_
19 #define GLUS_DEFINE_H_
21 #define GLUS_NO_ERROR 0
26 #define GLUS_POINTS 0x0000
28 #define GLUS_LINES 0x0001
29 #define GLUS_LINE_LOOP 0x0002
30 #define GLUS_LINE_STRIP 0x0003
31 #define GLUS_LINES_ADJACENCY 0x000A
32 #define GLUS_LINE_STRIP_ADJACENCY 0x000B
34 #define GLUS_TRIANGLES 0x0004
35 #define GLUS_TRIANGLE_STRIP 0x0005
36 #define GLUS_TRIANGLE_FAN 0x0006
37 #define GLUS_TRIANGLES_ADJACENCY 0x000C
38 #define GLUS_TRIANGLE_STRIP_ADJACENCY 0x000D
40 #define GLUS_UNPACK_ALIGNMENT 0x0CF5
41 #define GLUS_PACK_ALIGNMENT 0x0D05
43 #define GLUS_BYTE 0x1400
44 #define GLUS_UNSIGNED_BYTE 0x1401
45 #define GLUS_SHORT 0x1402
46 #define GLUS_UNSIGNED_SHORT 0x1403
47 #define GLUS_INT 0x1404
48 #define GLUS_UNSIGNED_INT 0x1405
49 #define GLUS_FLOAT 0x1406
50 #define GLUS_DOUBLE 0x140A
52 #define GLUS_VERSION 0x1F02
53 #define GLUS_EXTENSIONS 0x1F03
55 #define GLUS_COMPILE_STATUS 0x8B81
56 #define GLUS_LINK_STATUS 0x8B82
57 #define GLUS_VALIDATE_STATUS 0x8B83
58 #define GLUS_INFO_LOG_LENGTH 0x8B84
60 #define GLUS_FRAMEBUFFER 0x8D40
62 #define GLUS_COMPRESSED_R11_EAC 0x9270
63 #define GLUS_COMPRESSED_SIGNED_R11_EAC 0x9271
64 #define GLUS_COMPRESSED_RG11_EAC 0x9272
65 #define GLUS_COMPRESSED_SIGNED_RG11_EAC 0x9273
66 #define GLUS_COMPRESSED_RGB8_ETC2 0x9274
67 #define GLUS_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
68 #define GLUS_COMPRESSED_RGBA8_ETC2_EAC 0x9278
70 #define GLUS_PI 3.1415926535897932384626433832795f
72 #define GLUS_LOG_NOTHING 0
73 #define GLUS_LOG_ERROR 1
74 #define GLUS_LOG_WARNING 2
75 #define GLUS_LOG_INFO 3
76 #define GLUS_LOG_DEBUG 4
77 #define GLUS_LOG_SEVERE 5
79 #define GLUS_VERTICES_FACTOR 4
80 #define GLUS_VERTICES_DIVISOR 4
82 #define GLUS_MAX_STRING 256