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
OpenGLError.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_LOGGING_OPENGLERROR_HPP_
9
#define GALAXY_LOGGING_OPENGLERROR_HPP_
10
11
#include <string>
12
#include <vector>
13
14
namespace
galaxy
15
{
16
namespace
log
17
{
25
[[nodiscard]]
26
std::string
gl_errcode_as_string
(
const
int
code)
noexcept
;
27
33
[[nodiscard]]
34
std::vector<std::string>
gl_get_all_errors
() noexcept;
35
46
void
gl_add_error
(const
unsigned
int
source, const
unsigned
int
type, const
unsigned
int
id
, const
unsigned
int
severity, const
int
length, const
char
* buf) noexcept;
47
}
// namespace log
48
}
// namespace galaxy
49
50
#endif
galaxy::log::gl_get_all_errors
std::vector< std::string > gl_get_all_errors() noexcept
Returns all GL errors on stack.
Definition
OpenGLError.cpp:54
galaxy::log::gl_add_error
void gl_add_error(const unsigned int source, const unsigned int type, const unsigned int id, const unsigned int severity, const int length, const char *buf) noexcept
Insert a message into the OpenGL debug stack.
Definition
OpenGLError.cpp:67
galaxy::log::gl_errcode_as_string
std::string gl_errcode_as_string(const int code) noexcept
Convert a GL error code to a string.
Definition
OpenGLError.cpp:16
galaxy
Timer.hpp galaxy.
Definition
Timer.cpp:18
galaxy
src
galaxy
logging
OpenGLError.hpp
Generated on Wed Aug 20 2025 08:06:51 for galaxy by
1.12.0