Built as the primary renderer for SCIRun5, Spire is evolving into a thin interface to desktop OpenGL 2.0+ and OpenGL ES 2.0+.
Warning |
---|
Spire is pre-alpha software and its interface will change between now and 1.0.0 . |
#include <spire/Interface.h>
See documentation.
#include <spire/Context.h>
The context class is always included via Interface.h
. Derive and implement
the interface from this abstract class in order to provide Spire with a usable
context.
Note |
---|
This abstract context class will be removed in future versions of Spire. |
See documentation.
A number of CPM modules use spire. Below are a list of some source examples. You may also refer to the spire unit tests.