icetGLInitialize -- initialize the IceT OpenGL layer
Contents
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.
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.
Name
icetGLInitialize--initializetheIceTOpenGLlayer
See Also
icetCreateContext(3), icetGLIsInitialized(3) IceT Reference August 9, 2010 icetGLInitialize(3)
Synopsis
#include <IceTGL.h>
void icetGLInitialize( void );
Warnings
ICET_INVALID_OPERATIONicetGLInitialize is called twice for the same context.
