Skip to content

File gl_check.hpp

FileList > gui > gl_check.hpp

Go to the source code of this file

  • #include <QOpenGLContext>
  • #include <QOpenGLFunctions>

Public Functions

Type Name
void drain_gl_errors (QOpenGLFunctions * f, const char * kind, const char * file, int line, const char * expr)
const char * gl_error_name (GLenum err)
void log_gl_error (const char * kind, GLenum err, const char * file, int line, const char * expr)

Macros

Type Name
define CHECK_GL (expr) /* multi line expression */
define CHECK_GL_AFTER () /* multi line expression */

Public Functions Documentation

function drain_gl_errors

inline void drain_gl_errors (
    QOpenGLFunctions * f,
    const char * kind,
    const char * file,
    int line,
    const char * expr
) 

function gl_error_name

inline const char * gl_error_name (
    GLenum err
) 

function log_gl_error

void log_gl_error (
    const char * kind,
    GLenum err,
    const char * file,
    int line,
    const char * expr
) 

Macro Definition Documentation

define CHECK_GL

#define CHECK_GL (
    expr
) `/* multi line expression */`

define CHECK_GL_AFTER

#define CHECK_GL_AFTER (

) `/* multi line expression */`


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/gl_check.hpp