// ***************************************************************************
//
//   Generated automatically by genwrapper.
//   Please DO NOT EDIT this file!
//
// ***************************************************************************

#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>

#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/StateSet>
#include <osg/Uniform>

// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

TYPE_NAME_ALIAS(std::vector< osg::Object * >, osg::StateSet::ParentList)

TYPE_NAME_ALIAS(std::map< osg::StateAttribute::GLMode COMMA  osg::StateAttribute::GLModeValue >, osg::StateSet::ModeList)

TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA  osg::StateAttribute::OverrideValue >, osg::StateSet::RefAttributePair)

TYPE_NAME_ALIAS(std::map< osg::StateAttribute::TypeMemberPair COMMA  osg::StateSet::RefAttributePair >, osg::StateSet::AttributeList)

TYPE_NAME_ALIAS(std::vector< osg::StateSet::ModeList >, osg::StateSet::TextureModeList)

TYPE_NAME_ALIAS(std::vector< osg::StateSet::AttributeList >, osg::StateSet::TextureAttributeList)

TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::Uniform > COMMA  osg::StateAttribute::OverrideValue >, osg::StateSet::RefUniformPair)

TYPE_NAME_ALIAS(std::map< std::string COMMA  osg::StateSet::RefUniformPair >, osg::StateSet::UniformList)

BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderingHint)
	I_DeclaringFile("osg/StateSet");
	I_EnumLabel(osg::StateSet::DEFAULT_BIN);
	I_EnumLabel(osg::StateSet::OPAQUE_BIN);
	I_EnumLabel(osg::StateSet::TRANSPARENT_BIN);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderBinMode)
	I_DeclaringFile("osg/StateSet");
	I_EnumLabel(osg::StateSet::INHERIT_RENDERBIN_DETAILS);
	I_EnumLabel(osg::StateSet::USE_RENDERBIN_DETAILS);
	I_EnumLabel(osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::StateSet)
	I_DeclaringFile("osg/StateSet");
	I_BaseType(osg::Object);
	I_Constructor0(____StateSet,
	               "",
	               "");
	I_ConstructorWithDefaults2(IN, const osg::StateSet &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
	                           ____StateSet__C5_StateSet_R1__C5_CopyOp_R1,
	                           "",
	                           "");
	I_Method0(osg::Object *, cloneType,
	          Properties::VIRTUAL,
	          __Object_P1__cloneType,
	          "Clone the type of an object, with Object* return type. ",
	          "Must be defined by derived classes. ");
	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
	          Properties::VIRTUAL,
	          __Object_P1__clone__C5_CopyOp_R1,
	          "Clone an object, with Object* return type. ",
	          "Must be defined by derived classes. ");
	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
	          Properties::VIRTUAL,
	          __bool__isSameKindAs__C5_Object_P1,
	          "",
	          "");
	I_Method0(const char *, libraryName,
	          Properties::VIRTUAL,
	          __C5_char_P1__libraryName,
	          "return the name of the object's library. ",
	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
	I_Method0(const char *, className,
	          Properties::VIRTUAL,
	          __C5_char_P1__className,
	          "return the name of the object's class type. ",
	          "Must be defined by derived classes. ");
	I_MethodWithDefaults2(int, compare, IN, const osg::StateSet &, rhs, , IN, bool, compareAttributeContents, false,
	                      Properties::NON_VIRTUAL,
	                      __int__compare__C5_StateSet_R1__bool,
	                      "return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
	                      "");
	I_Method0(const osg::StateSet::ParentList &, getParents,
	          Properties::NON_VIRTUAL,
	          __C5_ParentList_R1__getParents,
	          "Get the parent list of this StateSet. ",
	          "");
	I_Method0(osg::StateSet::ParentList, getParents,
	          Properties::NON_VIRTUAL,
	          __ParentList__getParents,
	          "Get the a copy of parent list of node. ",
	          "A copy is returned to prevent modification of the parent list. ");
	I_Method1(osg::Object *, getParent, IN, unsigned int, i,
	          Properties::NON_VIRTUAL,
	          __Object_P1__getParent__unsigned_int,
	          "",
	          "");
	I_Method1(const osg::Object *, getParent, IN, unsigned int, i,
	          Properties::NON_VIRTUAL,
	          __C5_Object_P1__getParent__unsigned_int,
	          "Get a single const parent of this StateSet. ",
	          " param i index of the parent to get.   return the parent i. ");
	I_Method0(unsigned int, getNumParents,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getNumParents,
	          "Get the number of parents of this StateSet. ",
	          "the number of parents of this StateSet.  ");
	I_Method0(void, computeDataVariance,
	          Properties::VIRTUAL,
	          __void__computeDataVariance,
	          "Compute the DataVariance based on an assessment of callback etc. ",
	          "");
	I_Method0(void, setGlobalDefaults,
	          Properties::NON_VIRTUAL,
	          __void__setGlobalDefaults,
	          "Set all the modes to on or off so that it defines a complete state, typically used for a default global state. ",
	          "");
	I_Method0(void, clear,
	          Properties::NON_VIRTUAL,
	          __void__clear,
	          "Clear the StateSet of all modes and attributes. ",
	          "");
	I_Method1(void, merge, IN, const osg::StateSet &, rhs,
	          Properties::NON_VIRTUAL,
	          __void__merge__C5_StateSet_R1,
	          "Merge this StateSet with the StateSet passed as parameter. ",
	          "Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs. ");
	I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
	          Properties::NON_VIRTUAL,
	          __void__setMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
	          "Set this StateSet to contain the specified GLMode with a given value. ",
	          "Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call.  ");
	I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode,
	          Properties::NON_VIRTUAL,
	          __void__removeMode__StateAttribute_GLMode,
	          "Remove mode from this StateSet. ",
	          "Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call.  ");
	I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode,
	          Properties::NON_VIRTUAL,
	          __StateAttribute_GLModeValue__getMode__StateAttribute_GLMode,
	          "Get the value for a given GLMode. ",
	          " param mode The GLMode whose value is desired.   return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT.  note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
	I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml,
	          Properties::NON_VIRTUAL,
	          __void__setModeList__ModeList_R1,
	          "Set the list of all GLModes contained in this StateSet. ",
	          "");
	I_Method0(osg::StateSet::ModeList &, getModeList,
	          Properties::NON_VIRTUAL,
	          __ModeList_R1__getModeList,
	          "Return the list of all GLModes contained in this StateSet. ",
	          "");
	I_Method0(const osg::StateSet::ModeList &, getModeList,
	          Properties::NON_VIRTUAL,
	          __C5_ModeList_R1__getModeList,
	          "Return the const list of all GLModes contained in this const StateSet. ",
	          "");
	I_MethodWithDefaults2(void, setAttribute, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF,
	                      Properties::NON_VIRTUAL,
	                      __void__setAttribute__StateAttribute_P1__StateAttribute_OverrideValue,
	                      "Set this StateSet to contain specified attribute and override flag. ",
	                      "");
	I_MethodWithDefaults2(void, setAttributeAndModes, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
	                      Properties::NON_VIRTUAL,
	                      __void__setAttributeAndModes__StateAttribute_P1__StateAttribute_GLModeValue,
	                      "Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ",
	                      "");
	I_MethodWithDefaults2(void, removeAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
	                      Properties::NON_VIRTUAL,
	                      __void__removeAttribute__StateAttribute_Type__unsigned_int,
	                      "remove attribute of specified type from StateSet. ",
	                      "");
	I_Method1(void, removeAttribute, IN, osg::StateAttribute *, attribute,
	          Properties::NON_VIRTUAL,
	          __void__removeAttribute__StateAttribute_P1,
	          "remove attribute from StateSet. ",
	          "");
	I_MethodWithDefaults2(osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
	                      Properties::NON_VIRTUAL,
	                      __StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int,
	                      "Get specified StateAttribute for specified type. ",
	                      "Returns NULL if no type is contained within StateSet. ");
	I_MethodWithDefaults2(const osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
	                      Properties::NON_VIRTUAL,
	                      __C5_StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int,
	                      "Get specified const StateAttribute for specified type. ",
	                      "Returns NULL if no type is contained within const StateSet. ");
	I_MethodWithDefaults2(const osg::StateSet::RefAttributePair *, getAttributePair, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
	                      Properties::NON_VIRTUAL,
	                      __C5_RefAttributePair_P1__getAttributePair__StateAttribute_Type__unsigned_int,
	                      "Get specified RefAttributePair for specified type. ",
	                      "Returns NULL if no type is contained within StateSet. ");
	I_Method1(void, setAttributeList, IN, osg::StateSet::AttributeList &, al,
	          Properties::NON_VIRTUAL,
	          __void__setAttributeList__AttributeList_R1,
	          "set the list of all StateAttributes contained in this StateSet. ",
	          "");
	I_Method0(osg::StateSet::AttributeList &, getAttributeList,
	          Properties::NON_VIRTUAL,
	          __AttributeList_R1__getAttributeList,
	          "return the list of all StateAttributes contained in this StateSet. ",
	          "");
	I_Method0(const osg::StateSet::AttributeList &, getAttributeList,
	          Properties::NON_VIRTUAL,
	          __C5_AttributeList_R1__getAttributeList,
	          "return the const list of all StateAttributes contained in this const StateSet. ",
	          "");
	I_Method3(void, setTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
	          Properties::NON_VIRTUAL,
	          __void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
	          "Set this StateSet to contain specified GLMode with a given value. ",
	          " param unit The texture unit to be affected (used with multi-texturing).  mode The OpenGL mode to be added to the StateSet.  value The value to be assigned to mode.  ");
	I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
	          Properties::NON_VIRTUAL,
	          __void__removeTextureMode__unsigned_int__StateAttribute_GLMode,
	          "Remove texture mode from StateSet. ",
	          "");
	I_Method2(osg::StateAttribute::GLModeValue, getTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
	          Properties::NON_VIRTUAL,
	          __StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode,
	          "Get specified GLModeValue for specified GLMode. ",
	          "returns INHERIT if no GLModeValue is contained within StateSet. ");
	I_Method1(void, setTextureModeList, IN, osg::StateSet::TextureModeList &, tml,
	          Properties::NON_VIRTUAL,
	          __void__setTextureModeList__TextureModeList_R1,
	          "set the list of all Texture related GLModes contained in this StateSet. ",
	          "");
	I_Method0(osg::StateSet::TextureModeList &, getTextureModeList,
	          Properties::NON_VIRTUAL,
	          __TextureModeList_R1__getTextureModeList,
	          "return the list of all Texture related GLModes contained in this StateSet. ",
	          "");
	I_Method0(const osg::StateSet::TextureModeList &, getTextureModeList,
	          Properties::NON_VIRTUAL,
	          __C5_TextureModeList_R1__getTextureModeList,
	          "return the const list of all Texture related GLModes contained in this const StateSet. ",
	          "");
	I_MethodWithDefaults3(void, setTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF,
	                      Properties::NON_VIRTUAL,
	                      __void__setTextureAttribute__unsigned_int__StateAttribute_P1__StateAttribute_OverrideValue,
	                      "Set this StateSet to contain specified attribute and override flag. ",
	                      "");
	I_MethodWithDefaults3(void, setTextureAttributeAndModes, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
	                      Properties::NON_VIRTUAL,
	                      __void__setTextureAttributeAndModes__unsigned_int__StateAttribute_P1__StateAttribute_GLModeValue,
	                      "Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ",
	                      "");
	I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
	          Properties::NON_VIRTUAL,
	          __void__removeTextureAttribute__unsigned_int__StateAttribute_Type,
	          "remove texture attribute of specified type from StateSet. ",
	          "");
	I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute,
	          Properties::NON_VIRTUAL,
	          __void__removeTextureAttribute__unsigned_int__StateAttribute_P1,
	          "remove texture attribute from StateSet. ",
	          "");
	I_Method2(osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
	          Properties::NON_VIRTUAL,
	          __StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type,
	          "Get specified Texture related StateAttribute for specified type. ",
	          "Returns NULL if no type is contained within StateSet. ");
	I_Method2(const osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
	          Properties::NON_VIRTUAL,
	          __C5_StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type,
	          "Get specified Texture related const StateAttribute for specified type. ",
	          "Returns NULL if no type is contained within const StateSet. ");
	I_Method2(const osg::StateSet::RefAttributePair *, getTextureAttributePair, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
	          Properties::NON_VIRTUAL,
	          __C5_RefAttributePair_P1__getTextureAttributePair__unsigned_int__StateAttribute_Type,
	          "Get specified Texture related RefAttributePair for specified type. ",
	          "Returns NULL if no type is contained within StateSet. ");
	I_Method1(void, setTextureAttributeList, IN, osg::StateSet::TextureAttributeList &, tal,
	          Properties::NON_VIRTUAL,
	          __void__setTextureAttributeList__TextureAttributeList_R1,
	          "Set the list of all Texture related StateAttributes contained in this StateSet. ",
	          "");
	I_Method0(osg::StateSet::TextureAttributeList &, getTextureAttributeList,
	          Properties::NON_VIRTUAL,
	          __TextureAttributeList_R1__getTextureAttributeList,
	          "Return the list of all Texture related StateAttributes contained in this StateSet. ",
	          "");
	I_Method0(const osg::StateSet::TextureAttributeList &, getTextureAttributeList,
	          Properties::NON_VIRTUAL,
	          __C5_TextureAttributeList_R1__getTextureAttributeList,
	          "Return the const list of all Texture related StateAttributes contained in this const StateSet. ",
	          "");
	I_Method2(void, setAssociatedModes, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value,
	          Properties::NON_VIRTUAL,
	          __void__setAssociatedModes__C5_StateAttribute_P1__StateAttribute_GLModeValue,
	          "",
	          "");
	I_Method1(void, removeAssociatedModes, IN, const osg::StateAttribute *, attribute,
	          Properties::NON_VIRTUAL,
	          __void__removeAssociatedModes__C5_StateAttribute_P1,
	          "",
	          "");
	I_Method3(void, setAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value,
	          Properties::NON_VIRTUAL,
	          __void__setAssociatedTextureModes__unsigned_int__C5_StateAttribute_P1__StateAttribute_GLModeValue,
	          "",
	          "");
	I_Method2(void, removeAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
	          Properties::NON_VIRTUAL,
	          __void__removeAssociatedTextureModes__unsigned_int__C5_StateAttribute_P1,
	          "",
	          "");
	I_MethodWithDefaults2(void, addUniform, IN, osg::Uniform *, uniform, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::ON,
	                      Properties::NON_VIRTUAL,
	                      __void__addUniform__Uniform_P1__StateAttribute_OverrideValue,
	                      "Set this StateSet to contain specified uniform and override flag. ",
	                      "");
	I_Method1(void, removeUniform, IN, const std::string &, name,
	          Properties::NON_VIRTUAL,
	          __void__removeUniform__C5_std_string_R1,
	          "remove uniform of specified name from StateSet. ",
	          "");
	I_Method1(void, removeUniform, IN, osg::Uniform *, uniform,
	          Properties::NON_VIRTUAL,
	          __void__removeUniform__Uniform_P1,
	          "remove Uniform from StateSet. ",
	          "");
	I_Method1(osg::Uniform *, getUniform, IN, const std::string &, name,
	          Properties::NON_VIRTUAL,
	          __Uniform_P1__getUniform__C5_std_string_R1,
	          "Get Uniform for specified name. ",
	          "Returns NULL if no matching Uniform is contained within StateSet. ");
	I_MethodWithDefaults3(osg::Uniform *, getOrCreateUniform, IN, const std::string &, name, , IN, osg::Uniform::Type, type, , IN, unsigned int, numElements, 1,
	                      Properties::NON_VIRTUAL,
	                      __Uniform_P1__getOrCreateUniform__C5_std_string_R1__Uniform_Type__unsigned_int,
	                      "Get Uniform for specified name, if one is not available create it, add it to this StateSet and return a pointer to it. ",
	                      "");
	I_Method1(const osg::Uniform *, getUniform, IN, const std::string &, name,
	          Properties::NON_VIRTUAL,
	          __C5_Uniform_P1__getUniform__C5_std_string_R1,
	          "Get const Uniform for specified name. ",
	          "Returns NULL if no matching Uniform is contained within StateSet. ");
	I_Method1(const osg::StateSet::RefUniformPair *, getUniformPair, IN, const std::string &, name,
	          Properties::NON_VIRTUAL,
	          __C5_RefUniformPair_P1__getUniformPair__C5_std_string_R1,
	          "Get specified RefUniformPair for specified Uniform name. ",
	          "Returns NULL if no Uniform is contained within StateSet. ");
	I_Method1(void, setUniformList, IN, osg::StateSet::UniformList &, al,
	          Properties::NON_VIRTUAL,
	          __void__setUniformList__UniformList_R1,
	          "set the list of all Uniforms contained in this StateSet. ",
	          "");
	I_Method0(osg::StateSet::UniformList &, getUniformList,
	          Properties::NON_VIRTUAL,
	          __UniformList_R1__getUniformList,
	          "return the list of all Uniforms contained in this StateSet. ",
	          "");
	I_Method0(const osg::StateSet::UniformList &, getUniformList,
	          Properties::NON_VIRTUAL,
	          __C5_UniformList_R1__getUniformList,
	          "return the const list of all Uniforms contained in this const StateSet. ",
	          "");
	I_Method1(void, setRenderingHint, IN, int, hint,
	          Properties::NON_VIRTUAL,
	          __void__setRenderingHint__int,
	          "Set the RenderingHint of this StateSet. ",
	          "RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects). ");
	I_Method0(int, getRenderingHint,
	          Properties::NON_VIRTUAL,
	          __int__getRenderingHint,
	          "Get the RenderingHint of this StateSet. ",
	          "");
	I_MethodWithDefaults3(void, setRenderBinDetails, IN, int, binNum, , IN, const std::string &, binName, , IN, osg::StateSet::RenderBinMode, mode, osg::StateSet::USE_RENDERBIN_DETAILS,
	                      Properties::NON_VIRTUAL,
	                      __void__setRenderBinDetails__int__C5_std_string_R1__RenderBinMode,
	                      "Set the render bin details. ",
	                      "");
	I_Method0(void, setRenderBinToInherit,
	          Properties::NON_VIRTUAL,
	          __void__setRenderBinToInherit,
	          "Set the render bin details to inherit. ",
	          "");
	I_Method0(bool, useRenderBinDetails,
	          Properties::NON_VIRTUAL,
	          __bool__useRenderBinDetails,
	          "Get whether the render bin details are set and should be used. ",
	          "");
	I_Method1(void, setRenderBinMode, IN, osg::StateSet::RenderBinMode, mode,
	          Properties::NON_VIRTUAL,
	          __void__setRenderBinMode__RenderBinMode,
	          "Set the render bin mode. ",
	          "");
	I_Method0(osg::StateSet::RenderBinMode, getRenderBinMode,
	          Properties::NON_VIRTUAL,
	          __RenderBinMode__getRenderBinMode,
	          "Get the render bin mode. ",
	          "");
	I_Method1(void, setBinNumber, IN, int, num,
	          Properties::NON_VIRTUAL,
	          __void__setBinNumber__int,
	          "Set the render bin number. ",
	          "");
	I_Method0(int, getBinNumber,
	          Properties::NON_VIRTUAL,
	          __int__getBinNumber,
	          "Get the render bin number. ",
	          "");
	I_Method1(void, setBinName, IN, const std::string &, name,
	          Properties::NON_VIRTUAL,
	          __void__setBinName__C5_std_string_R1,
	          "Set the render bin name. ",
	          "");
	I_Method0(const std::string &, getBinName,
	          Properties::NON_VIRTUAL,
	          __C5_std_string_R1__getBinName,
	          "Get the render bin name. ",
	          "");
	I_Method1(void, setNestRenderBins, IN, bool, val,
	          Properties::NON_VIRTUAL,
	          __void__setNestRenderBins__bool,
	          "By default render bins will be nested within each other dependent upon where they are set in the scene graph. ",
	          "This can be problematic if a transparent render bin is attached to an opaque render bin which is attached to another transparent render bin as these render bins will be sorted separately, giving the wrong draw ordering for back-to-front transparency. Therefore, to prevent render bins being nested, call setNestRenderBins(false). ");
	I_Method0(bool, getNestRenderBins,
	          Properties::NON_VIRTUAL,
	          __bool__getNestRenderBins,
	          "Get whether associated RenderBin should be nested within parents RenderBin. ",
	          "");
	I_Method1(void, setUpdateCallback, IN, osg::StateSet::Callback *, ac,
	          Properties::NON_VIRTUAL,
	          __void__setUpdateCallback__Callback_P1,
	          "Set the Update Callback which allows users to attach customize the updating of an object during the update traversal. ",
	          "");
	I_Method0(osg::StateSet::Callback *, getUpdateCallback,
	          Properties::NON_VIRTUAL,
	          __Callback_P1__getUpdateCallback,
	          "Get the non const Update Callback. ",
	          "");
	I_Method0(const osg::StateSet::Callback *, getUpdateCallback,
	          Properties::NON_VIRTUAL,
	          __C5_Callback_P1__getUpdateCallback,
	          "Get the const Update Callback. ",
	          "");
	I_Method0(bool, requiresUpdateTraversal,
	          Properties::NON_VIRTUAL,
	          __bool__requiresUpdateTraversal,
	          "Return whether this StateSet has update callbacks associated with it, and therefore must be traversed. ",
	          "");
	I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getNumChildrenRequiringUpdateTraversal,
	          "Get the number of Objects of this StateSet which require Update traversal, since they have an Update Callback attached to them or their children. ",
	          "");
	I_Method1(void, runUpdateCallbacks, IN, osg::NodeVisitor *, nv,
	          Properties::NON_VIRTUAL,
	          __void__runUpdateCallbacks__osg_NodeVisitor_P1,
	          "Run the update callbacks attached directly to this StateSet or to its children. ",
	          "");
	I_Method1(void, setEventCallback, IN, osg::StateSet::Callback *, ac,
	          Properties::NON_VIRTUAL,
	          __void__setEventCallback__Callback_P1,
	          "Set the Event Callback which allows users to attach customize the updating of an object during the event traversal. ",
	          "");
	I_Method0(osg::StateSet::Callback *, getEventCallback,
	          Properties::NON_VIRTUAL,
	          __Callback_P1__getEventCallback,
	          "Get the non const Event Callback. ",
	          "");
	I_Method0(const osg::StateSet::Callback *, getEventCallback,
	          Properties::NON_VIRTUAL,
	          __C5_Callback_P1__getEventCallback,
	          "Get the const Event Callback. ",
	          "");
	I_Method0(bool, requiresEventTraversal,
	          Properties::NON_VIRTUAL,
	          __bool__requiresEventTraversal,
	          "Return whether this StateSet has event callbacks associated with it, and therefore must be traversed. ",
	          "");
	I_Method0(unsigned int, getNumChildrenRequiringEventTraversal,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getNumChildrenRequiringEventTraversal,
	          "Get the number of Objects of this StateSet which require Event traversal, since they have an Eevnt Callback attached to them or their children. ",
	          "");
	I_Method1(void, runEventCallbacks, IN, osg::NodeVisitor *, nv,
	          Properties::NON_VIRTUAL,
	          __void__runEventCallbacks__osg_NodeVisitor_P1,
	          "Run the event callbacks attached directly to this StateSet or to its children. ",
	          "");
	I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, state,
	          Properties::NON_VIRTUAL,
	          __bool__checkValidityOfAssociatedModes__State_R1,
	          "Check the modes associated with this StateSet are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
	          "Return true if all associated modes are valid. ");
	I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
	          Properties::VIRTUAL,
	          __void__setThreadSafeRefUnref__bool,
	          "Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
	          "");
	I_Method1(void, compileGLObjects, IN, osg::State &, state,
	          Properties::NON_VIRTUAL,
	          __void__compileGLObjects__State_R1,
	          "call compile on all StateAttributes contained within this StateSet. ",
	          "");
	I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
	          Properties::VIRTUAL,
	          __void__resizeGLObjectBuffers__unsigned_int,
	          "Resize any per context GLObject buffers to specified size. ",
	          "");
	I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
	                      Properties::VIRTUAL,
	                      __void__releaseGLObjects__State_P1,
	                      "call release on all StateAttributes contained within this StateSet. ",
	                      "");
	I_ProtectedMethod1(void, addParent, IN, osg::Object *, object,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__addParent__osg_Object_P1,
	                   "",
	                   "");
	I_ProtectedMethod1(void, removeParent, IN, osg::Object *, object,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__removeParent__osg_Object_P1,
	                   "",
	                   "");
	I_ProtectedMethod1(osg::StateSet::ModeList &, getOrCreateTextureModeList, IN, unsigned int, unit,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __ModeList_R1__getOrCreateTextureModeList__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod1(osg::StateSet::AttributeList &, getOrCreateTextureAttributeList, IN, unsigned int, unit,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __AttributeList_R1__getOrCreateTextureAttributeList__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod2(int, compareModes, IN, const osg::StateSet::ModeList &, lhs, IN, const osg::StateSet::ModeList &, rhs,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __int__compareModes__C5_ModeList_R1__C5_ModeList_R1,
	                   "",
	                   "");
	I_ProtectedMethod2(int, compareAttributePtrs, IN, const osg::StateSet::AttributeList &, lhs, IN, const osg::StateSet::AttributeList &, rhs,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __int__compareAttributePtrs__C5_AttributeList_R1__C5_AttributeList_R1,
	                   "",
	                   "");
	I_ProtectedMethod2(int, compareAttributeContents, IN, const osg::StateSet::AttributeList &, lhs, IN, const osg::StateSet::AttributeList &, rhs,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __int__compareAttributeContents__C5_AttributeList_R1__C5_AttributeList_R1,
	                   "",
	                   "");
	I_ProtectedMethod3(void, setMode, IN, osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__setMode__ModeList_R1__StateAttribute_GLMode__StateAttribute_GLModeValue,
	                   "",
	                   "");
	I_ProtectedMethod2(void, setModeToInherit, IN, osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__setModeToInherit__ModeList_R1__StateAttribute_GLMode,
	                   "",
	                   "");
	I_ProtectedMethod2(osg::StateAttribute::GLModeValue, getMode, IN, const osg::StateSet::ModeList &, modeList, IN, osg::StateAttribute::GLMode, mode,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __StateAttribute_GLModeValue__getMode__C5_ModeList_R1__StateAttribute_GLMode,
	                   "",
	                   "");
	I_ProtectedMethodWithDefaults3(void, setAttribute, IN, osg::StateSet::AttributeList &, attributeList, , IN, osg::StateAttribute *, attribute, , IN, const osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF,
	                               Properties::NON_VIRTUAL,
	                               Properties::NON_CONST,
	                               __void__setAttribute__AttributeList_R1__StateAttribute_P1__C5_StateAttribute_OverrideValue,
	                               "",
	                               "");
	I_ProtectedMethod3(osg::StateAttribute *, getAttribute, IN, osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __StateAttribute_P1__getAttribute__AttributeList_R1__C5_StateAttribute_Type__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod3(const osg::StateAttribute *, getAttribute, IN, const osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __C5_StateAttribute_P1__getAttribute__C5_AttributeList_R1__C5_StateAttribute_Type__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod3(const osg::StateSet::RefAttributePair *, getAttributePair, IN, const osg::StateSet::AttributeList &, attributeList, IN, const osg::StateAttribute::Type, type, IN, unsigned int, member,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __C5_RefAttributePair_P1__getAttributePair__C5_AttributeList_R1__C5_StateAttribute_Type__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__setNumChildrenRequiringUpdateTraversal__unsigned_int,
	                   "",
	                   "");
	I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__setNumChildrenRequiringEventTraversal__unsigned_int,
	                   "",
	                   "");
	I_SimpleProperty(osg::StateSet::AttributeList &, AttributeList, 
	                 __AttributeList_R1__getAttributeList, 
	                 __void__setAttributeList__AttributeList_R1);
	I_SimpleProperty(const std::string &, BinName, 
	                 __C5_std_string_R1__getBinName, 
	                 __void__setBinName__C5_std_string_R1);
	I_SimpleProperty(int, BinNumber, 
	                 __int__getBinNumber, 
	                 __void__setBinNumber__int);
	I_SimpleProperty(osg::StateSet::Callback *, EventCallback, 
	                 __Callback_P1__getEventCallback, 
	                 __void__setEventCallback__Callback_P1);

	I_SimpleProperty(osg::StateSet::ModeList &, ModeList, 
	                 __ModeList_R1__getModeList, 
	                 __void__setModeList__ModeList_R1);
	I_SimpleProperty(bool, NestRenderBins, 
	                 __bool__getNestRenderBins, 
	                 __void__setNestRenderBins__bool);
	I_ArrayProperty(osg::Object *, Parent, 
	                __Object_P1__getParent__unsigned_int, 
	                0, 
	                __unsigned_int__getNumParents, 
	                0, 
	                0, 
	                0);
	I_SimpleProperty(osg::StateSet::ParentList, Parents, 
	                 __ParentList__getParents, 
	                 0);
	I_SimpleProperty(osg::StateSet::RenderBinMode, RenderBinMode, 
	                 __RenderBinMode__getRenderBinMode, 
	                 __void__setRenderBinMode__RenderBinMode);
	I_SimpleProperty(int, RenderingHint, 
	                 __int__getRenderingHint, 
	                 __void__setRenderingHint__int);
	I_SimpleProperty(osg::StateSet::TextureAttributeList &, TextureAttributeList, 
	                 __TextureAttributeList_R1__getTextureAttributeList, 
	                 __void__setTextureAttributeList__TextureAttributeList_R1);
	I_IndexedProperty(osg::StateAttribute::GLModeValue, TextureMode, 
	                  __StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode, 
	                  __void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue, 
	                  0);
	I_SimpleProperty(osg::StateSet::TextureModeList &, TextureModeList, 
	                 __TextureModeList_R1__getTextureModeList, 
	                 __void__setTextureModeList__TextureModeList_R1);
	I_SimpleProperty(bool, ThreadSafeRefUnref, 
	                 0, 
	                 __void__setThreadSafeRefUnref__bool);
	I_SimpleProperty(osg::StateSet::UniformList &, UniformList, 
	                 __UniformList_R1__getUniformList, 
	                 __void__setUniformList__UniformList_R1);
	I_SimpleProperty(osg::StateSet::Callback *, UpdateCallback, 
	                 __Callback_P1__getUpdateCallback, 
	                 __void__setUpdateCallback__Callback_P1);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::StateSet::Callback)
	I_DeclaringFile("osg/StateSet");
	I_VirtualBaseType(osg::Object);
	I_Constructor0(____Callback,
	               "",
	               "");
	I_Constructor2(IN, const osg::StateSet::Callback &, x, IN, const osg::CopyOp &, x,
	               ____Callback__C5_Callback_R1__C5_CopyOp_R1,
	               "",
	               "");
	I_Method0(osg::Object *, cloneType,
	          Properties::VIRTUAL,
	          __osg_Object_P1__cloneType,
	          "Clone the type of an object, with Object* return type. ",
	          "Must be defined by derived classes. ");
	I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
	          Properties::VIRTUAL,
	          __osg_Object_P1__clone__C5_osg_CopyOp_R1,
	          "Clone an object, with Object* return type. ",
	          "Must be defined by derived classes. ");
	I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
	          Properties::VIRTUAL,
	          __bool__isSameKindAs__C5_osg_Object_P1,
	          "",
	          "");
	I_Method0(const char *, libraryName,
	          Properties::VIRTUAL,
	          __C5_char_P1__libraryName,
	          "return the name of the object's library. ",
	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
	I_Method0(const char *, className,
	          Properties::VIRTUAL,
	          __C5_char_P1__className,
	          "return the name of the object's class type. ",
	          "Must be defined by derived classes. ");
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateAttribute >)
	I_DeclaringFile("osg/ref_ptr");
	I_Constructor0(____ref_ptr,
	               "",
	               "");
	I_Constructor1(IN, osg::StateAttribute *, ptr,
	               Properties::NON_EXPLICIT,
	               ____ref_ptr__T_P1,
	               "",
	               "");
	I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp,
	               Properties::NON_EXPLICIT,
	               ____ref_ptr__C5_ref_ptr_R1,
	               "",
	               "");
	I_Method0(osg::StateAttribute *, get,
	          Properties::NON_VIRTUAL,
	          __T_P1__get,
	          "",
	          "");
	I_Method0(bool, valid,
	          Properties::NON_VIRTUAL,
	          __bool__valid,
	          "",
	          "");
	I_Method0(osg::StateAttribute *, release,
	          Properties::NON_VIRTUAL,
	          __T_P1__release,
	          "",
	          "");
	I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp,
	          Properties::NON_VIRTUAL,
	          __void__swap__ref_ptr_R1,
	          "",
	          "");
	I_SimpleProperty(osg::StateAttribute *, , 
	                 __T_P1__get, 
	                 0);
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >)
	I_DeclaringFile("osg/ref_ptr");
	I_Constructor0(____ref_ptr,
	               "",
	               "");
	I_Constructor1(IN, osg::Uniform *, ptr,
	               Properties::NON_EXPLICIT,
	               ____ref_ptr__T_P1,
	               "",
	               "");
	I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp,
	               Properties::NON_EXPLICIT,
	               ____ref_ptr__C5_ref_ptr_R1,
	               "",
	               "");
	I_Method0(osg::Uniform *, get,
	          Properties::NON_VIRTUAL,
	          __T_P1__get,
	          "",
	          "");
	I_Method0(bool, valid,
	          Properties::NON_VIRTUAL,
	          __bool__valid,
	          "",
	          "");
	I_Method0(osg::Uniform *, release,
	          Properties::NON_VIRTUAL,
	          __T_P1__release,
	          "",
	          "");
	I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp,
	          Properties::NON_VIRTUAL,
	          __void__swap__ref_ptr_R1,
	          "",
	          "");
	I_SimpleProperty(osg::Uniform *, , 
	                 __T_P1__get, 
	                 0);
END_REFLECTOR

STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA  osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values)
STD_MAP_REFLECTOR(std::map< osg::StateAttribute::TypeMemberPair COMMA  osg::StateSet::RefAttributePair >)

STD_MAP_REFLECTOR(std::map< std::string COMMA  osg::StateSet::RefUniformPair >)

STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateAttribute > COMMA  osg::StateAttribute::OverrideValue >)

STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::Uniform > COMMA  osg::StateAttribute::OverrideValue >)

STD_VECTOR_REFLECTOR(std::vector< osg::Object * >)

STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::AttributeList >)

STD_VECTOR_REFLECTOR(std::vector< osg::StateSet::ModeList >)

