Files
OpenSceneGraph/src/osgWrappers/osg/GraphicsContext.cpp
Robert Osfield e18cb598e6 Updated wrappers.
2005-09-29 13:07:26 +00:00

66 lines
2.3 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext)
I_BaseType(osg::Referenced);
I_Method0(const osg::GraphicsContext::Traits *, getTraits);
I_Method1(void, setState, IN, osg::State *, state);
I_Method0(osg::State *, getState);
I_Method0(const osg::State *, getState);
I_Method0(bool, realize);
I_MethodWithDefaults1(void, close, IN, bool, callCloseImplementation, true);
I_Method0(void, swapBuffers);
I_Method0(bool, isRealized);
I_Method0(void, makeCurrent);
I_Method1(void, makeContextCurrent, IN, osg::GraphicsContext *, readContext);
I_Method0(void, releaseContext);
I_Method0(bool, isCurrent);
I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer);
I_Method0(void, createGraphicsThread);
I_Method1(void, setGraphicsThread, IN, osg::GraphicsThread *, gt);
I_Method0(osg::GraphicsThread *, getGraphicsThread);
I_Method0(const osg::GraphicsThread *, getGraphicsThread);
I_Method0(bool, realizeImplementation);
I_Method0(bool, isRealizedImplementation);
I_Method0(void, closeImplementation);
I_Method0(void, makeCurrentImplementation);
I_Method1(void, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext);
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer);
I_Method0(void, swapBuffersImplementation);
I_Property(osg::GraphicsThread *, GraphicsThread);
I_Property(osg::State *, State);
I_ReadOnlyProperty(const osg::GraphicsContext::Traits *, Traits);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::CreateGraphicContextCallback)
I_BaseType(osg::Referenced);
I_Constructor0();
I_Method1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::GraphicsContext::Traits)
I_BaseType(osg::Referenced);
I_Constructor0();
END_REFLECTOR