icetGLInitialize(3) IceT Reference icetGLInitialize(3)
NAME
icetGLInitialize -- 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 icetGLIsIni-
tialized).
Management for the OpenGL layer is held in the state of the current IceT context. Thus, icetGLInitialize must be called once per IceT con-
text. 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.
See Also
icetCreateContext(3), icetGLIsInitialized(3)
IceT Reference August 9, 2010 icetGLInitialize(3)