Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection
example
This commit is contained in:
65
src/osgWrappers/osg/StateAttribute.cpp
Normal file
65
src/osgWrappers/osg/StateAttribute.cpp
Normal file
@@ -0,0 +1,65 @@
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
using namespace osgIntrospection;
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
BaseType(osg::Object);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
|
||||
EnumLabel(osg::StateAttribute::OFF);
|
||||
EnumLabel(osg::StateAttribute::ON);
|
||||
EnumLabel(osg::StateAttribute::OVERRIDE);
|
||||
EnumLabel(osg::StateAttribute::PROTECTED);
|
||||
EnumLabel(osg::StateAttribute::INHERIT);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Type)
|
||||
EnumLabel(osg::StateAttribute::TEXTURE);
|
||||
EnumLabel(osg::StateAttribute::POLYGONMODE);
|
||||
EnumLabel(osg::StateAttribute::POLYGONOFFSET);
|
||||
EnumLabel(osg::StateAttribute::MATERIAL);
|
||||
EnumLabel(osg::StateAttribute::ALPHAFUNC);
|
||||
EnumLabel(osg::StateAttribute::ANTIALIAS);
|
||||
EnumLabel(osg::StateAttribute::COLORTABLE);
|
||||
EnumLabel(osg::StateAttribute::CULLFACE);
|
||||
EnumLabel(osg::StateAttribute::FOG);
|
||||
EnumLabel(osg::StateAttribute::FRONTFACE);
|
||||
EnumLabel(osg::StateAttribute::LIGHT);
|
||||
EnumLabel(osg::StateAttribute::POINT);
|
||||
EnumLabel(osg::StateAttribute::LINEWIDTH);
|
||||
EnumLabel(osg::StateAttribute::LINESTIPPLE);
|
||||
EnumLabel(osg::StateAttribute::POLYGONSTIPPLE);
|
||||
EnumLabel(osg::StateAttribute::SHADEMODEL);
|
||||
EnumLabel(osg::StateAttribute::TEXENV);
|
||||
EnumLabel(osg::StateAttribute::TEXENVFILTER);
|
||||
EnumLabel(osg::StateAttribute::TEXGEN);
|
||||
EnumLabel(osg::StateAttribute::TEXMAT);
|
||||
EnumLabel(osg::StateAttribute::LIGHTMODEL);
|
||||
EnumLabel(osg::StateAttribute::BLENDFUNC);
|
||||
EnumLabel(osg::StateAttribute::STENCIL);
|
||||
EnumLabel(osg::StateAttribute::COLORMASK);
|
||||
EnumLabel(osg::StateAttribute::DEPTH);
|
||||
EnumLabel(osg::StateAttribute::VIEWPORT);
|
||||
EnumLabel(osg::StateAttribute::BLENDCOLOR);
|
||||
EnumLabel(osg::StateAttribute::MULTISAMPLE);
|
||||
EnumLabel(osg::StateAttribute::CLIPPLANE);
|
||||
EnumLabel(osg::StateAttribute::COLORMATRIX);
|
||||
EnumLabel(osg::StateAttribute::VERTEXPROGRAM);
|
||||
EnumLabel(osg::StateAttribute::FRAGMENTPROGRAM);
|
||||
EnumLabel(osg::StateAttribute::POINTSPRITE);
|
||||
EnumLabel(osg::StateAttribute::PROGRAMOBJECT);
|
||||
EnumLabel(osg::StateAttribute::VALIDATOR);
|
||||
EnumLabel(osg::StateAttribute::VIEWMATRIXEXTRACTOR);
|
||||
EnumLabel(osg::StateAttribute::PARAMETER_BLOCK);
|
||||
EnumLabel(osg::StateAttribute::TEXTURE_SHADER);
|
||||
EnumLabel(osg::StateAttribute::VERTEX_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::REGISTER_COMBINERS);
|
||||
EnumLabel(osg::StateAttribute::PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::PROGRAM_PARSER);
|
||||
END_REFLECTOR
|
||||
Reference in New Issue
Block a user