OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GLObjects.h
Go to the documentation of this file.
1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
2  *
3  * This library is open source and may be redistributed and/or modified under
4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5  * (at your option) any later version. The full license is in LICENSE file
6  * included with this distribution, and on the openscenegraph.org website.
7  *
8  * This library is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * OpenSceneGraph Public License for more details.
12 */
13 
14 #ifndef OSG_GLOBJECTS
15 #define OSG_GLOBJECTS 1
16 
17 #include <osg/Export>
18 
19 namespace osg {
20 
23 extern OSG_EXPORT void flushDeletedGLObjects(unsigned int contextID, double currentTime, double& availableTime);
24 
27 extern OSG_EXPORT void flushAllDeletedGLObjects(unsigned int contextID);
28 
31 extern OSG_EXPORT void deleteAllGLObjects(unsigned int contextID);
32 
38 extern OSG_EXPORT void discardAllGLObjects(unsigned int contextID);
39 
40 }
41 
42 #endif
#define OSG_EXPORT
Definition: Export.h:43
OSG_EXPORT void discardAllGLObjects(unsigned int contextID)
OSG_EXPORT void flushDeletedGLObjects(unsigned int contextID, double currentTime, double &availableTime)
OSG_EXPORT void deleteAllGLObjects(unsigned int contextID)
OSG_EXPORT void flushAllDeletedGLObjects(unsigned int contextID)
Definition: AlphaFunc.h:19