Euphoria
Namespaces | Macros | Functions
opengl_utils.h File Reference
#include "dependency_glad.h"
#include "base/size.h"

Go to the source code of this file.

Namespaces

namespace  eu
 
namespace  eu::render
 

Macros

#define SET_DEBUG_LABEL(ID, FOR)   opengl_nop()
 
#define SET_DEBUG_LABEL_NAMED(ID, FOR, NAME)   opengl_nop()
 
#define SCOPED_DEBUG_GROUP(TEXT)   opengl_nop()
 

Functions

void eu::render::setup_opengl_debug ()
 
GLenum eu::render::glenum_from_int (int i)
 
GLuint eu::render::gluint_from_int (int i)
 
GLsizeiptr eu::render::glsizeiptr_from_sizet (std::size_t t)
 
GLsizei eu::render::glsizei_from_sizet (std::size_t t)
 
u32 eu::render::create_buffer ()
 
void eu::render::destroy_buffer (u32 vbo)
 
u32 eu::render::create_vertex_array ()
 
void eu::render::destroy_vertex_array (u32 vao)
 
void eu::render::set_gl_viewport (const Size &sz)
 
constexpr void eu::render::opengl_nop ()
 

Macro Definition Documentation

◆ SCOPED_DEBUG_GROUP

#define SCOPED_DEBUG_GROUP (   TEXT)    opengl_nop()

Definition at line 74 of file opengl_utils.h.

◆ SET_DEBUG_LABEL

#define SET_DEBUG_LABEL (   ID,
  FOR 
)    opengl_nop()

Definition at line 71 of file opengl_utils.h.

◆ SET_DEBUG_LABEL_NAMED

#define SET_DEBUG_LABEL_NAMED (   ID,
  FOR,
  NAME 
)    opengl_nop()

Definition at line 72 of file opengl_utils.h.