Files
OpenSceneGraph/src/osgWrappers/osgUtil/GLObjectsVisitor.cpp
Robert Osfield 74bce0e410 Updated wrappers
2005-05-16 09:41:10 +00:00

55 lines
2.1 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Node>
#include <osg/State>
#include <osg/StateSet>
#include <osgUtil/GLObjectsVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(unsigned int, osgUtil::GLObjectsVisitor::Mode);
BEGIN_ENUM_REFLECTOR(osgUtil::GLObjectsVisitor::ModeValues)
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES);
I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_STATE_ATTRIBUTES);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_VERTEX_BUFFER_OBJECTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_VERTEX_BUFFER_OBJECTS);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES);
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode);
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode);
I_Method1(void, setState, IN, osg::State *, state);
I_Method0(osg::State *, getState);
I_Method1(void, apply, IN, osg::Node &, node);
I_Method1(void, apply, IN, osg::Geode &, node);
I_Method1(void, apply, IN, osg::Drawable &, drawable);
I_Method1(void, apply, IN, osg::StateSet &, stateset);
I_Property(osgUtil::GLObjectsVisitor::Mode, Mode);
I_Property(osg::State *, State);
END_REFLECTOR