From Marco Jez, improvements to osgIntrospection, and new automatically generated
osgWrappers/osg set.
This commit is contained in:
@@ -1,14 +1,26 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
using namespace osgIntrospection;
|
||||
TYPE_NAME_ALIAS(GLenum, osg::StateAttribute::GLMode);
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
BaseType(osg::Object);
|
||||
END_REFLECTOR
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::GLModeValue);
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::OverrideValue);
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::StateAttribute::Type COMMA unsigned int >, osg::StateAttribute::TypeMemberPair);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
|
||||
EnumLabel(osg::StateAttribute::OFF);
|
||||
@@ -18,51 +30,83 @@ BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
|
||||
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::OSGNV_PARAMETER_BLOCK);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_TEXTURE_SHADER);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_VERTEX_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_REGISTER_COMBINERS);
|
||||
EnumLabel(osg::StateAttribute::OSGNVCG_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVSLANG_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVPARSE_PROGRAM_PARSER);
|
||||
|
||||
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::BLENDEQUATION);
|
||||
EnumLabel(osg::StateAttribute::LOGICOP);
|
||||
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::OSGNV_PARAMETER_BLOCK);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_TEXTURE_SHADER);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_VERTEX_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVEXT_REGISTER_COMBINERS);
|
||||
EnumLabel(osg::StateAttribute::OSGNVCG_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVSLANG_PROGRAM);
|
||||
EnumLabel(osg::StateAttribute::OSGNVPARSE_PROGRAM_PARSER);
|
||||
EnumLabel(osg::StateAttribute::PROGRAM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
BaseType(osg::Object);
|
||||
Constructor0();
|
||||
ConstructorWithDefaults2(IN, const osg::StateAttribute &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
Method0(osg::Object *, cloneType);
|
||||
Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
Method0(const char *, libraryName);
|
||||
Method0(const char *, className);
|
||||
Method0(osg::StateAttribute::Type, getType);
|
||||
Method0(unsigned int, getMember);
|
||||
Method0(osg::StateAttribute::TypeMemberPair, getTypeMemberPair);
|
||||
Method0(bool, isTextureAttribute);
|
||||
Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x);
|
||||
Method1(void, apply, IN, osg::State &, x);
|
||||
Method1(void, compileGLObjects, IN, osg::State &, x);
|
||||
MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
ReadOnlyProperty(unsigned int, Member);
|
||||
ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
ReadOnlyProperty(osg::StateAttribute::TypeMemberPair, TypeMemberPair);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute::ModeUsage)
|
||||
Constructor0();
|
||||
Method1(void, usesMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method1(void, usesTextureMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::StateAttribute::Type COMMA unsigned int >);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user