## GritsOpenGL GritsOpenGL — OpenGL based virtual globe |

## Synopsis

    struct              GritsOpenGL;
    struct              GritsOpenGLClass;
    GritsViewer *       grits_opengl_new                    (GritsPlugins *plugins,
                                                             GritsPrefs *prefs);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkDrawingArea
                               +----GritsViewer
                                     +----GritsOpenGL

## Implemented Interfaces

GritsOpenGL implements AtkImplementorIface and GtkBuildable.

## Description

GritsOpenGL is the core rendering engine used by grits. Theoretically other renderers could be writte, but they have not been. GritsOpenGL uses the ROAM algorithm for updating surface mesh the planet. The only thing GritsOpenGL can actually render on it's own is a wireframe of a sphere.

GritsOpenGL requires (at least) OpenGL 2.0.

## Details

### struct GritsOpenGL

    struct GritsOpenGL;

### struct GritsOpenGLClass

    struct GritsOpenGLClass {
    	GritsViewerClass parent_class;

    	/* class members */
    };

### grits_opengl_new ()

    GritsViewer *       grits_opengl_new                    (GritsPlugins *plugins,
                                                             GritsPrefs *prefs);

Create a new OpenGL renderer.

`plugins` : | the plugins store to use
`prefs` : | the preferences object to use
Returns : | the new GritsOpenGL