matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
|
Defines the OpenGL class that serves as the interface for OpenGL. More...
Go to the source code of this file.
Classes | |
class | engine::graphics::OpenGL |
This class serves as the OpenGL interface for your app, since the engine doesn't directly link OpenGL to the app executable. More... | |
Namespaces | |
namespace | engine |
namespace | engine::resources |
namespace | engine::graphics |
Macros | |
#define | CHECKED_GL_CALL(func, ...) engine::graphics::OpenGL::call(std::source_location::current(), func, __VA_ARGS__) |
Do an error-checked OpenGL call. Throws an OpenGL error if the call fails. | |
Defines the OpenGL class that serves as the interface for OpenGL.
#define CHECKED_GL_CALL | ( | func, | |
... | |||
) | engine::graphics::OpenGL::call(std::source_location::current(), func, __VA_ARGS__) |
Do an error-checked OpenGL call. Throws an OpenGL error if the call fails.
func | OpenGL function to call |
... | Function arguments |
Example: