Graphite
Version 3
An experimental 3D geometry processing program
|
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 | GEO::Graphics::initialize () |
Initialize Geogram graphics subsystem. More... | |
void | 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 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 GEO::Graphics::terminate | ( | ) |
Cleans up Geogram graphics subsystem.
This function is called automatically when the program exists normally.