#include "OSDLVideoTypes.h"#include "OSDLPixel.h"#include "OSDLPoint2D.h"#include "Ceylan.h"#include "SDL_opengl.h"#include "SDL.h"#include <string>

Go to the source code of this file.
Classes | |
| class | OSDL::Video::OpenGL::OpenGLException |
| Exception to be raised when OpenGL operations fail. More... | |
| class | OSDL::Video::OpenGL::OpenGLContext |
| An OpenGL context corresponds to the state of a running OpenGL screen. More... | |
Namespaces | |
| namespace | OSDL |
Definition of the main OSDL common non-specialized types. | |
| namespace | OSDL::Video |
| namespace | OSDL::Video::OpenGL |
All OpenGL-specific operations and conventions are encapsulated here, be they related to 2D or 3D. | |
| namespace | OSDL::Video::OpenGL::GLU |
Gathers appropriate GLU (OpenGL Utility Library) encapsulations for better integration into OSDL. | |
Typedefs | |
| typedef SDL_GLattr | OSDL::Video::OpenGL::GLAttribute |
| OpenGL attribute. | |
| typedef GLfloat | OSDL::Video::OpenGL::GLLength |
| Length, OpenGL unit of measure. | |
| typedef GLfloat | OSDL::Video::OpenGL::GLCoordinate |
| Coordinate, OpenGL unit of measure. | |
| typedef unsigned int | OSDL::Video::OpenGL::GLBitField |
| Bit field for OpenGL selection. | |
| typedef unsigned int | OSDL::Video::OpenGL::GLEnumeration |
| Enumeration for OpenGL selection. | |
| typedef Ceylan::Uint32 | OSDL::Video::OpenGL::GLU::Int |
| GLU::Int (actually GLUint) is unsigned int. | |
Enumerations | |
| enum | OSDL::Video::OpenGL::Flavour { OSDL::Video::OpenGL::None, OSDL::Video::OpenGL::OpenGLFor2D, OSDL::Video::OpenGL::OpenGLFor3D, OSDL::Video::OpenGL::Reload } |
Various flavours (presets) are available for OpenGL. More... | |
| enum | OSDL::Video::OpenGL::Feature { OSDL::Video::OpenGL::Alphablending = GL_BLEND, OSDL::Video::OpenGL::TwoDimensionalTexturing = GL_TEXTURE_2D, OSDL::Video::OpenGL::CullPolygons = GL_CULL_FACE, OSDL::Video::OpenGL::DepthTests = GL_DEPTH_TEST, OSDL::Video::OpenGL::Lighting = GL_LIGHTING, OSDL::Video::OpenGL::Light_1 = GL_LIGHT0, OSDL::Video::OpenGL::Light_2 = GL_LIGHT1, OSDL::Video::OpenGL::Light_3 = GL_LIGHT2, OSDL::Video::OpenGL::Light_4 = GL_LIGHT3, OSDL::Video::OpenGL::Light_5 = GL_LIGHT4, OSDL::Video::OpenGL::Light_6 = GL_LIGHT5, OSDL::Video::OpenGL::Light_7 = GL_LIGHT6, OSDL::Video::OpenGL::Light_8 = GL_LIGHT7 } |
Lists the overall OpenGL features that can be enabled or not. More... | |
Variables | |
| OSDL_DLL Pixels::ColorMask | OSDL::Video::OpenGL::RedMask = 0xff000000 |
| Mask used for OpenGL RGBA color specification for red, depending on the endianness of the local machine. | |
| OSDL_DLL Pixels::ColorMask | OSDL::Video::OpenGL::GreenMask = 0x00ff0000 |
| Mask used for OpenGL RGBA color specification for green, depending on the endianness of the local machine. | |
| OSDL_DLL Pixels::ColorMask | OSDL::Video::OpenGL::BlueMask = 0x0000ff00 |
| Mask used for OpenGL RGBA color specification for blue, depending on the endianness of the local machine. | |
| OSDL_DLL Pixels::ColorMask | OSDL::Video::OpenGL::AlphaMask = 0x000000ff |
| Mask used for OpenGL RGBA color specification for alpha, depending on the endianness of the local machine. | |
1.6.3