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

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

#include <osg/BlendFunc>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>

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

BEGIN_ENUM_REFLECTOR(osg::BlendFunc::BlendFuncMode)
	I_DeclaringFile("osg/BlendFunc");
	I_EnumLabel(osg::BlendFunc::DST_ALPHA);
	I_EnumLabel(osg::BlendFunc::DST_COLOR);
	I_EnumLabel(osg::BlendFunc::ONE);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_ALPHA);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_COLOR);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_ALPHA);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_COLOR);
	I_EnumLabel(osg::BlendFunc::SRC_ALPHA);
	I_EnumLabel(osg::BlendFunc::SRC_ALPHA_SATURATE);
	I_EnumLabel(osg::BlendFunc::SRC_COLOR);
	I_EnumLabel(osg::BlendFunc::CONSTANT_COLOR);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_COLOR);
	I_EnumLabel(osg::BlendFunc::CONSTANT_ALPHA);
	I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_ALPHA);
	I_EnumLabel(osg::BlendFunc::ZERO);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
	I_DeclaringFile("osg/BlendFunc");
	I_BaseType(osg::StateAttribute);
	I_Constructor0(____BlendFunc,
	               "",
	               "");
	I_Constructor2(IN, GLenum, source, IN, GLenum, destination,
	               ____BlendFunc__GLenum__GLenum,
	               "",
	               "");
	I_Constructor4(IN, GLenum, source, IN, GLenum, destination, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
	               ____BlendFunc__GLenum__GLenum__GLenum__GLenum,
	               "",
	               "");
	I_ConstructorWithDefaults2(IN, const osg::BlendFunc &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
	                           ____BlendFunc__C5_BlendFunc_R1__C5_CopyOp_R1,
	                           "Copy constructor using CopyOp to manage deep vs shallow copy. ",
	                           "");
	I_Method0(osg::Object *, cloneType,
	          Properties::VIRTUAL,
	          __osg_Object_P1__cloneType,
	          "Clone the type of an attribute, 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 attribute, 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,
	          "Return true if this and obj are of the same kind of object. ",
	          "");
	I_Method0(const char *, libraryName,
	          Properties::VIRTUAL,
	          __C5_char_P1__libraryName,
	          "Return the name of the attribute's library. ",
	          "");
	I_Method0(const char *, className,
	          Properties::VIRTUAL,
	          __C5_char_P1__className,
	          "Return the name of the attribute's class type. ",
	          "");
	I_Method0(osg::StateAttribute::Type, getType,
	          Properties::VIRTUAL,
	          __Type__getType,
	          "Return the Type identifier of the attribute's class type. ",
	          "");
	I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
	          Properties::VIRTUAL,
	          __int__compare__C5_StateAttribute_R1,
	          "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
	          "");
	I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
	          Properties::VIRTUAL,
	          __bool__getModeUsage__StateAttribute_ModeUsage_R1,
	          "Return the modes associated with this StateAttribute. ",
	          "");
	I_Method2(void, setFunction, IN, GLenum, source, IN, GLenum, destination,
	          Properties::NON_VIRTUAL,
	          __void__setFunction__GLenum__GLenum,
	          "",
	          "");
	I_Method4(void, setFunction, IN, GLenum, source_rgb, IN, GLenum, destination_rgb, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
	          Properties::NON_VIRTUAL,
	          __void__setFunction__GLenum__GLenum__GLenum__GLenum,
	          "",
	          "");
	I_Method1(void, setSource, IN, GLenum, source,
	          Properties::NON_VIRTUAL,
	          __void__setSource__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getSource,
	          Properties::NON_VIRTUAL,
	          __GLenum__getSource,
	          "",
	          "");
	I_Method1(void, setSourceRGB, IN, GLenum, source,
	          Properties::NON_VIRTUAL,
	          __void__setSourceRGB__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getSourceRGB,
	          Properties::NON_VIRTUAL,
	          __GLenum__getSourceRGB,
	          "",
	          "");
	I_Method1(void, setSourceAlpha, IN, GLenum, source,
	          Properties::NON_VIRTUAL,
	          __void__setSourceAlpha__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getSourceAlpha,
	          Properties::NON_VIRTUAL,
	          __GLenum__getSourceAlpha,
	          "",
	          "");
	I_Method1(void, setDestination, IN, GLenum, destination,
	          Properties::NON_VIRTUAL,
	          __void__setDestination__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getDestination,
	          Properties::NON_VIRTUAL,
	          __GLenum__getDestination,
	          "",
	          "");
	I_Method1(void, setDestinationRGB, IN, GLenum, destination,
	          Properties::NON_VIRTUAL,
	          __void__setDestinationRGB__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getDestinationRGB,
	          Properties::NON_VIRTUAL,
	          __GLenum__getDestinationRGB,
	          "",
	          "");
	I_Method1(void, setDestinationAlpha, IN, GLenum, destination,
	          Properties::NON_VIRTUAL,
	          __void__setDestinationAlpha__GLenum,
	          "",
	          "");
	I_Method0(GLenum, getDestinationAlpha,
	          Properties::NON_VIRTUAL,
	          __GLenum__getDestinationAlpha,
	          "",
	          "");
	I_Method1(void, apply, IN, osg::State &, state,
	          Properties::VIRTUAL,
	          __void__apply__State_R1,
	          "apply the OpenGL state attributes. ",
	          "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
	I_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
	                __Extensions_P1__getExtensions__unsigned_int__bool_S,
	                "Returns the Extensions object for the given context. ",
	                "If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
	I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendFunc::Extensions *, extensions,
	                __void__setExtensions__unsigned_int__Extensions_P1_S,
	                "setExtensions() allows users to override the extensions across graphics contexts. ",
	                "Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
	I_SimpleProperty(GLenum, Destination, 
	                 __GLenum__getDestination, 
	                 __void__setDestination__GLenum);
	I_SimpleProperty(GLenum, DestinationAlpha, 
	                 __GLenum__getDestinationAlpha, 
	                 __void__setDestinationAlpha__GLenum);
	I_SimpleProperty(GLenum, DestinationRGB, 
	                 __GLenum__getDestinationRGB, 
	                 __void__setDestinationRGB__GLenum);
	I_SimpleProperty(GLenum, Source, 
	                 __GLenum__getSource, 
	                 __void__setSource__GLenum);
	I_SimpleProperty(GLenum, SourceAlpha, 
	                 __GLenum__getSourceAlpha, 
	                 __void__setSourceAlpha__GLenum);
	I_SimpleProperty(GLenum, SourceRGB, 
	                 __GLenum__getSourceRGB, 
	                 __void__setSourceRGB__GLenum);
	I_SimpleProperty(osg::StateAttribute::Type, Type, 
	                 __Type__getType, 
	                 0);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::BlendFunc::Extensions)
	I_DeclaringFile("osg/BlendFunc");
	I_BaseType(osg::Referenced);
	I_Constructor1(IN, unsigned int, contextID,
	               Properties::NON_EXPLICIT,
	               ____Extensions__unsigned_int,
	               "",
	               "");
	I_Constructor1(IN, const osg::BlendFunc::Extensions &, rhs,
	               Properties::NON_EXPLICIT,
	               ____Extensions__C5_Extensions_R1,
	               "",
	               "");
	I_Method1(void, lowestCommonDenominator, IN, const osg::BlendFunc::Extensions &, rhs,
	          Properties::NON_VIRTUAL,
	          __void__lowestCommonDenominator__C5_Extensions_R1,
	          "",
	          "");
	I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
	          Properties::NON_VIRTUAL,
	          __void__setupGLExtensions__unsigned_int,
	          "",
	          "");
	I_Method1(void, setBlendFuncSeparateSupported, IN, bool, flag,
	          Properties::NON_VIRTUAL,
	          __void__setBlendFuncSeparateSupported__bool,
	          "",
	          "");
	I_Method0(bool, isBlendFuncSeparateSupported,
	          Properties::NON_VIRTUAL,
	          __bool__isBlendFuncSeparateSupported,
	          "",
	          "");
	I_Method4(void, glBlendFuncSeparate, IN, GLenum, sfactorRGB, IN, GLenum, dfactorRGB, IN, GLenum, sfactorAlpha, IN, GLenum, dfactorAlpha,
	          Properties::NON_VIRTUAL,
	          __void__glBlendFuncSeparate__GLenum__GLenum__GLenum__GLenum,
	          "",
	          "");

	I_SimpleProperty(bool, BlendFuncSeparateSupported, 
	                 0, 
	                 __void__setBlendFuncSeparateSupported__bool);
END_REFLECTOR

