![]() |
ImFusion SDK 4.3
|
Low-level OpenGL Wrappers. More...
Low-level OpenGL Wrappers.
The ImFusion::GL namespace provides a collection of classes and functions to wrap the OpenGL API into more approachable and easier to manage C++ entities.
In order to use OpenGL you must first create and initialize an OpenGL context and load the OpenGL function entry points from the GPU driver. The easiest way to achieve this is to call GL::init(). Make sure to call GL::deinit() before exiting your application to properly release all OpenGL handles managed by ImFusionGL.
The constructors of most classes in ImFusionGL will throw a std::runtime_error if they fail to create the underlying OpenGL resource (e.g. a texture or a buffer object). All other member functions are supposed to handle potential errors more gracefully and not throw unless this is explicitly documented.
Topics | |
Buffers | |
Interfaces and wrapper classes for working with OpenGL buffers. | |
Context management | |
Interfaces and wrapper classes for managing OpenGL contexts. | |
Debugging | |
Access to OpenGL Debug context facilities. | |
GLSL Shaders | |
Interfaces and wrapper classes for working with OpenGL/GLSL shaders. | |
High-level Renderers | |
High-level classes for Rendering. | |
Texture management | |
Interfaces and wrapper classes for working with OpenGL textures/images. | |
Utilities | |
Helper classes and functions for working with OpenGL. | |