Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Common include file, providing basic definitions. Should be included before anything else by all header files in geogram_gfx. More...
#include <geogram/basic/common.h>
#include <geogram_gfx/api/defs.h>
#include <geogram_gfx/basic/GL.h>
Go to the source code of this file.
Namespaces | |
GEO | |
Global Vorpaline namespace. | |
Functions | |
void GEOGRAM_GFX_API | GEO::Graphics::initialize () |
Initialize Geogram graphics subsystem. More... | |
void GEOGRAM_GFX_API | GEO::Graphics::terminate () |
Cleans up Geogram graphics subsystem. More... | |
Common include file, providing basic definitions. Should be included before anything else by all header files in geogram_gfx.
Definition in file common.h.
void GEOGRAM_GFX_API GEO::Graphics::initialize | ( | ) |
Initialize Geogram graphics subsystem.
This function must be called once, after a valid OpenGL context is created, at the beginning of a program to initialize the geogram_gfx library. It also installs a exit() handler that calls function terminate() when the program exists normally.
void GEOGRAM_GFX_API GEO::Graphics::terminate | ( | ) |
Cleans up Geogram graphics subsystem.
This function is called automatically when the program exists normally.