My Project
 
Loading...
Searching...
No Matches
gl-types.h
Go to the documentation of this file.
1// Copyright (c) 2025 Milton McDonald
2// This source code is licensed under the MIT License. See LICENSE file in the
3// project root for details.
4
5#ifndef ENGINE_LIB_GL_TYPES_H_
6#define ENGINE_LIB_GL_TYPES_H_
7
8#include <cstdint>
9
11
12enum class GLBufferTarget : std::uint8_t {
13 kArray,
22};
23
24enum class GLClearBit : std::uint8_t { kColor, kDepth, kStencil, kNumBits };
25
39
51
65
73
74enum class GLShaderType : std::uint8_t { kFragment, kGeometry, kVertex };
75
76} // namespace graphics_engine::gl_types
77
78#endif // ENGINE_LIB_GL_TYPES_H_
Definition gl-types.h:10
GLDataType
Definition gl-types.h:26
GLClearBit
Definition gl-types.h:24
GLDrawMode
Definition gl-types.h:52
GLBufferTarget
Definition gl-types.h:12
GLDataUsagePattern
Definition gl-types.h:40
GLShaderObjectParameter
Definition gl-types.h:66
GLShaderType
Definition gl-types.h:74