Updated wrappers
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/GraphicsContext>
|
||||
#include <osg/GraphicsThread>
|
||||
#include <osg/State>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -21,45 +19,27 @@
|
||||
#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);
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::CreateGraphicContextCallback)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::CreateGraphicContextCallback)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::Traits)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::Traits)
|
||||
I_Constructor0();
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user