galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
GLEnums.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_GRAPHICS_GL_GLENUMS_HPP_
9#define GALAXY_GRAPHICS_GL_GLENUMS_HPP_
10
11#include <glad/glad.h>
12
13namespace galaxy
14{
18 enum class GLDrawHint : GLenum
19 {
20 STATIC_DRAW = GL_STATIC_DRAW,
21 DYNAMIC_DRAW = GL_DYNAMIC_DRAW,
22 STREAM_DRAW = GL_STREAM_DRAW
23 };
24
27 //
28 enum class GLTextureMode : int
29 {
33 REPEAT = GL_REPEAT,
34
38 MIRRORED_REPEAT = GL_MIRRORED_REPEAT,
39
43 CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE,
44
48 CLAMP_TO_BORDER = GL_CLAMP_TO_BORDER
49 };
50
54 enum class GLRenderMode : unsigned int
55 {
56 UNKNOWN = 0x0009,
57 QUADS = GL_QUADS,
58 TRIANGLES = GL_TRIANGLES,
59 LINES = GL_LINES,
60 LINE_LOOP = GL_LINE_LOOP,
61 POINTS = GL_POINTS
62 };
63} // namespace galaxy
64
65#endif
Application.hpp galaxy.
GLRenderMode
Rendering modes.
Definition GLEnums.hpp:55
GLDrawHint
OpenGL driver data buffer storage flags.
Definition GLEnums.hpp:19
GLTextureMode
Texture wrapping modes.
Definition GLEnums.hpp:29
@ CLAMP_TO_EDGE
GL_CLAMP_TO_EDGE.
@ MIRRORED_REPEAT
GL_MIRRORED_REPEAT.
@ CLAMP_TO_BORDER
GL_CLAMP_TO_BORDER.