Updated wrappers.
This commit is contained in:
49
src/osgWrappers/osg/GraphicsContext.cpp
Normal file
49
src/osgWrappers/osg/GraphicsContext.cpp
Normal file
@@ -0,0 +1,49 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/GraphicsContext>
|
||||
#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, isCurrent);
|
||||
I_Method0(void, release);
|
||||
I_Method0(void, makeCurrent);
|
||||
I_Method1(void, makeContextCurrent, IN, osg::GraphicsContext *, readContext);
|
||||
I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer);
|
||||
I_Method0(void, swapBuffers);
|
||||
I_Property(osg::State *, State);
|
||||
I_ReadOnlyProperty(const osg::GraphicsContext::Traits *, Traits);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::CreateGraphicContexCallback)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user