openMSX
Classes | Namespaces | Macros | Functions
GLUtil.hh File Reference
#include <GL/glew.h>
#include <GL/gl.h>
#include "MemBuffer.hh"
#include <string_view>
#include <cassert>
Include dependency graph for GLUtil.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gl::Null
 
class  gl::Texture
 Most basic/generic texture: only contains a texture ID. More...
 
class  gl::ColorTexture
 
class  gl::FrameBufferObject
 
class  gl::PixelBuffer< T >
 Wrapper around a pixel buffer. More...
 
class  gl::Shader
 Wrapper around an OpenGL shader: a program executed on the GPU. More...
 
class  gl::VertexShader
 Wrapper around an OpenGL vertex shader: a program executed on the GPU that computes per-vertex stuff. More...
 
class  gl::FragmentShader
 Wrapper around an OpenGL fragment shader: a program executed on the GPU that computes the colors of pixels. More...
 
class  gl::ShaderProgram
 Wrapper around an OpenGL program: a collection of vertex and fragment shaders. More...
 
class  gl::BufferObject
 

Namespaces

namespace  gl
 

Macros

#define OPENGL_ES_2_0   1
 
#define OPENGL_2_1   2
 
#define OPENGL_3_3   3
 
#define OPENGL_VERSION   OPENGL_2_1
 

Functions

void gl::checkGLError (std::string_view prefix)
 

Macro Definition Documentation

◆ OPENGL_2_1

#define OPENGL_2_1   2

Definition at line 19 of file GLUtil.hh.

◆ OPENGL_3_3

#define OPENGL_3_3   3

Definition at line 20 of file GLUtil.hh.

◆ OPENGL_ES_2_0

#define OPENGL_ES_2_0   1

Definition at line 18 of file GLUtil.hh.

◆ OPENGL_VERSION

#define OPENGL_VERSION   OPENGL_2_1

Definition at line 21 of file GLUtil.hh.