icetGLInitialize(3) initialize the IceT OpenGL layer

Synopsis

#include <IceTGL.h>

void icetGLInitialize(void);

Description

Initializes the OpenGL layer of IceT .icetGLInitialize must be called before any other function starting with icetGL (except icetGLIsInitialized).

Management for the OpenGL layer is held in the state of the current IceT context. Thus, icetGLInitialize must be called once per IceT context. If you are using a context for rendering with OpenGL ,it is recommended that you call icetGLInitialize immediately after calling icetCreateContext.

Errors

None.

Warnings

ICET_INVALID_OPERATION

 icetGLInitialize is called twice for the same context.

Bugs

None known.

Copyright

Copyright (C)2010 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.