// ***************************************************************************
//
//   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/FrameStamp>
#include <osg/GraphicsContext>
#include <osg/Image>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Texture>
#include <osg/Vec4d>

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

BEGIN_ENUM_REFLECTOR(osg::Texture::WrapParameter)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::WRAP_S);
	I_EnumLabel(osg::Texture::WRAP_T);
	I_EnumLabel(osg::Texture::WRAP_R);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::WrapMode)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::CLAMP);
	I_EnumLabel(osg::Texture::CLAMP_TO_EDGE);
	I_EnumLabel(osg::Texture::CLAMP_TO_BORDER);
	I_EnumLabel(osg::Texture::REPEAT);
	I_EnumLabel(osg::Texture::MIRROR);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::FilterParameter)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::MIN_FILTER);
	I_EnumLabel(osg::Texture::MAG_FILTER);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::FilterMode)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::LINEAR);
	I_EnumLabel(osg::Texture::LINEAR_MIPMAP_LINEAR);
	I_EnumLabel(osg::Texture::LINEAR_MIPMAP_NEAREST);
	I_EnumLabel(osg::Texture::NEAREST);
	I_EnumLabel(osg::Texture::NEAREST_MIPMAP_LINEAR);
	I_EnumLabel(osg::Texture::NEAREST_MIPMAP_NEAREST);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::InternalFormatMode)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::USE_IMAGE_DATA_FORMAT);
	I_EnumLabel(osg::Texture::USE_USER_DEFINED_FORMAT);
	I_EnumLabel(osg::Texture::USE_ARB_COMPRESSION);
	I_EnumLabel(osg::Texture::USE_S3TC_DXT1_COMPRESSION);
	I_EnumLabel(osg::Texture::USE_S3TC_DXT3_COMPRESSION);
	I_EnumLabel(osg::Texture::USE_S3TC_DXT5_COMPRESSION);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::InternalFormatType)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::NORMALIZED);
	I_EnumLabel(osg::Texture::FLOAT);
	I_EnumLabel(osg::Texture::SIGNED_INTEGER);
	I_EnumLabel(osg::Texture::UNSIGNED_INTEGER);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::ShadowCompareFunc)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::NEVER);
	I_EnumLabel(osg::Texture::LESS);
	I_EnumLabel(osg::Texture::EQUAL);
	I_EnumLabel(osg::Texture::LEQUAL);
	I_EnumLabel(osg::Texture::GREATER);
	I_EnumLabel(osg::Texture::NOTEQUAL);
	I_EnumLabel(osg::Texture::GEQUAL);
	I_EnumLabel(osg::Texture::ALWAYS);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::ShadowTextureMode)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::LUMINANCE);
	I_EnumLabel(osg::Texture::INTENSITY);
	I_EnumLabel(osg::Texture::ALPHA);
END_REFLECTOR

BEGIN_ENUM_REFLECTOR(osg::Texture::GenerateMipmapMode)
	I_DeclaringFile("osg/Texture");
	I_EnumLabel(osg::Texture::GENERATE_MIPMAP_NONE);
	I_EnumLabel(osg::Texture::GENERATE_MIPMAP);
	I_EnumLabel(osg::Texture::GENERATE_MIPMAP_TEX_PARAMETER);
END_REFLECTOR

TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Texture::TextureObject > >, osg::Texture::TextureObjectList)

BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
	I_DeclaringFile("osg/Texture");
	I_BaseType(osg::StateAttribute);
	I_Constructor0(____Texture,
	               "",
	               "");
	I_ConstructorWithDefaults2(IN, const osg::Texture &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
	                           ____Texture__C5_Texture_R1__C5_CopyOp_R1,
	                           "Copy constructor using CopyOp to manage deep vs shallow copy. ",
	                           "");
	I_Method0(osg::Object *, cloneType,
	          Properties::PURE_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 &, x,
	          Properties::PURE_VIRTUAL,
	          __osg_Object_P1__clone__C5_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::Texture *, asTexture,
	          Properties::VIRTUAL,
	          __Texture_P1__asTexture,
	          "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ",
	          "");
	I_Method0(const osg::Texture *, asTexture,
	          Properties::VIRTUAL,
	          __C5_Texture_P1__asTexture,
	          "Fast alternative to dynamic_cast<> for determining if state attribute is a Texture. ",
	          "");
	I_Method0(osg::StateAttribute::Type, getType,
	          Properties::VIRTUAL,
	          __Type__getType,
	          "Return the Type identifier of the attribute's class type. ",
	          "");
	I_Method0(bool, isTextureAttribute,
	          Properties::VIRTUAL,
	          __bool__isTextureAttribute,
	          "Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
	          "");
	I_Method0(GLenum, getTextureTarget,
	          Properties::PURE_VIRTUAL,
	          __GLenum__getTextureTarget,
	          "",
	          "");
	I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
	          Properties::VIRTUAL,
	          __bool__getModeUsage__StateAttribute_ModeUsage_R1,
	          "Return the modes associated with this StateAttribute. ",
	          "");
	I_Method0(int, getTextureWidth,
	          Properties::VIRTUAL,
	          __int__getTextureWidth,
	          "",
	          "");
	I_Method0(int, getTextureHeight,
	          Properties::VIRTUAL,
	          __int__getTextureHeight,
	          "",
	          "");
	I_Method0(int, getTextureDepth,
	          Properties::VIRTUAL,
	          __int__getTextureDepth,
	          "",
	          "");
	I_Method2(void, setWrap, IN, osg::Texture::WrapParameter, which, IN, osg::Texture::WrapMode, wrap,
	          Properties::NON_VIRTUAL,
	          __void__setWrap__WrapParameter__WrapMode,
	          "Sets the texture wrap mode. ",
	          "");
	I_Method1(osg::Texture::WrapMode, getWrap, IN, osg::Texture::WrapParameter, which,
	          Properties::NON_VIRTUAL,
	          __WrapMode__getWrap__WrapParameter,
	          "Gets the texture wrap mode. ",
	          "");
	I_Method1(void, setBorderColor, IN, const osg::Vec4d &, color,
	          Properties::NON_VIRTUAL,
	          __void__setBorderColor__C5_Vec4d_R1,
	          "Sets the border color. ",
	          "Only used when wrap mode is CLAMP_TO_BORDER. The border color will be casted to the appropriate type to match the internal pixel format of the texture. ");
	I_Method0(const osg::Vec4d &, getBorderColor,
	          Properties::NON_VIRTUAL,
	          __C5_Vec4d_R1__getBorderColor,
	          "Gets the border color. ",
	          "");
	I_Method1(void, setBorderWidth, IN, GLint, width,
	          Properties::NON_VIRTUAL,
	          __void__setBorderWidth__GLint,
	          "Sets the border width. ",
	          "");
	I_Method0(GLint, getBorderWidth,
	          Properties::NON_VIRTUAL,
	          __GLint__getBorderWidth,
	          "",
	          "");
	I_Method2(void, setFilter, IN, osg::Texture::FilterParameter, which, IN, osg::Texture::FilterMode, filter,
	          Properties::NON_VIRTUAL,
	          __void__setFilter__FilterParameter__FilterMode,
	          "Sets the texture filter mode. ",
	          "");
	I_Method1(osg::Texture::FilterMode, getFilter, IN, osg::Texture::FilterParameter, which,
	          Properties::NON_VIRTUAL,
	          __FilterMode__getFilter__FilterParameter,
	          "Gets the texture filter mode. ",
	          "");
	I_Method1(void, setMaxAnisotropy, IN, float, anis,
	          Properties::NON_VIRTUAL,
	          __void__setMaxAnisotropy__float,
	          "Sets the maximum anisotropy value, default value is 1.0 for no anisotropic filtering. ",
	          "If hardware does not support anisotropic filtering, use normal filtering (equivalent to a max anisotropy value of 1.0. Valid range is 1.0f upwards. The maximum value depends on the graphics system. ");
	I_Method0(float, getMaxAnisotropy,
	          Properties::NON_VIRTUAL,
	          __float__getMaxAnisotropy,
	          "Gets the maximum anisotropy value. ",
	          "");
	I_Method1(void, setUseHardwareMipMapGeneration, IN, bool, useHardwareMipMapGeneration,
	          Properties::NON_VIRTUAL,
	          __void__setUseHardwareMipMapGeneration__bool,
	          "Sets the hardware mipmap generation hint. ",
	          "If enabled, it will only be used if supported in the graphics system. ");
	I_Method0(bool, getUseHardwareMipMapGeneration,
	          Properties::NON_VIRTUAL,
	          __bool__getUseHardwareMipMapGeneration,
	          "Gets the hardware mipmap generation hint. ",
	          "");
	I_Method1(void, setUnRefImageDataAfterApply, IN, bool, flag,
	          Properties::NON_VIRTUAL,
	          __void__setUnRefImageDataAfterApply__bool,
	          "Sets whether or not the apply() function will unreference the image data. ",
	          "If enabled, and the image data is only referenced by this Texture, apply() will delete the image data. ");
	I_Method0(bool, getUnRefImageDataAfterApply,
	          Properties::NON_VIRTUAL,
	          __bool__getUnRefImageDataAfterApply,
	          "Gets whether or not apply() unreferences image data. ",
	          "");
	I_Method1(void, setClientStorageHint, IN, bool, flag,
	          Properties::NON_VIRTUAL,
	          __void__setClientStorageHint__bool,
	          "Sets whether to use client storage for the texture, if supported by the graphics system. ",
	          "Note: If enabled, and the graphics system supports it, the osg::Image(s) associated with this texture cannot be deleted, so the UnRefImageDataAfterApply flag would be ignored. ");
	I_Method0(bool, getClientStorageHint,
	          Properties::NON_VIRTUAL,
	          __bool__getClientStorageHint,
	          "Gets whether to use client storage for the texture. ",
	          "");
	I_Method1(void, setResizeNonPowerOfTwoHint, IN, bool, flag,
	          Properties::NON_VIRTUAL,
	          __void__setResizeNonPowerOfTwoHint__bool,
	          "Sets whether to force the texture to resize images that have dimensions that are not a power of two. ",
	          "If enabled, NPOT images will be resized, whether or not NPOT textures are supported by the hardware. If disabled, NPOT images will not be resized if supported by hardware. ");
	I_Method0(bool, getResizeNonPowerOfTwoHint,
	          Properties::NON_VIRTUAL,
	          __bool__getResizeNonPowerOfTwoHint,
	          "Gets whether texture will force non power to two images to be resized. ",
	          "");
	I_Method1(void, setInternalFormatMode, IN, osg::Texture::InternalFormatMode, mode,
	          Properties::NON_VIRTUAL,
	          __void__setInternalFormatMode__InternalFormatMode,
	          "Sets the internal texture format mode. ",
	          "Note: If the texture format is USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, or USE_S3TC_COMPRESSION, the internal format mode is set automatically and will overwrite the previous _internalFormat. ");
	I_Method0(osg::Texture::InternalFormatMode, getInternalFormatMode,
	          Properties::NON_VIRTUAL,
	          __InternalFormatMode__getInternalFormatMode,
	          "Gets the internal texture format mode. ",
	          "");
	I_Method1(void, setInternalFormat, IN, GLint, internalFormat,
	          Properties::NON_VIRTUAL,
	          __void__setInternalFormat__GLint,
	          "Sets the internal texture format. ",
	          "Implicitly sets the internalFormatMode to USE_USER_DEFINED_FORMAT. The corresponding internal format type will be computed. ");
	I_Method0(GLint, getInternalFormat,
	          Properties::NON_VIRTUAL,
	          __GLint__getInternalFormat,
	          "Gets the internal texture format. ",
	          "");
	I_Method0(bool, isCompressedInternalFormat,
	          Properties::NON_VIRTUAL,
	          __bool__isCompressedInternalFormat,
	          "Return true if the internal format is one of the compressed formats. ",
	          "");
	I_Method1(void, setSourceFormat, IN, GLenum, sourceFormat,
	          Properties::NON_VIRTUAL,
	          __void__setSourceFormat__GLenum,
	          "Sets the external source image format, used as a fallback when no osg::Image is attached to provide the source image format. ",
	          "");
	I_Method0(GLenum, getSourceFormat,
	          Properties::NON_VIRTUAL,
	          __GLenum__getSourceFormat,
	          "Gets the external source image format. ",
	          "");
	I_Method1(void, setSourceType, IN, GLenum, sourceType,
	          Properties::NON_VIRTUAL,
	          __void__setSourceType__GLenum,
	          "Sets the external source data type, used as a fallback when no osg::Image is attached to provide the source image format. ",
	          "");
	I_Method0(GLenum, getSourceType,
	          Properties::NON_VIRTUAL,
	          __GLenum__getSourceType,
	          "Gets the external source data type. ",
	          "");
	I_Method0(osg::Texture::InternalFormatType, getInternalFormatType,
	          Properties::NON_VIRTUAL,
	          __InternalFormatType__getInternalFormatType,
	          "Get the internal texture format type. ",
	          "");
	I_Method1(osg::Texture::TextureObject *, getTextureObject, IN, unsigned int, contextID,
	          Properties::NON_VIRTUAL,
	          __TextureObject_P1__getTextureObject__unsigned_int,
	          "Returns a pointer to the TextureBbject for the current context. ",
	          "");
	I_Method2(void, setTextureObject, IN, unsigned int, contextID, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__setTextureObject__unsigned_int__TextureObject_P1,
	          "",
	          "");
	I_Method0(void, dirtyTextureObject,
	          Properties::NON_VIRTUAL,
	          __void__dirtyTextureObject,
	          "Forces a recompile on next apply() of associated OpenGL texture objects. ",
	          "");
	I_Method0(bool, areAllTextureObjectsLoaded,
	          Properties::NON_VIRTUAL,
	          __bool__areAllTextureObjectsLoaded,
	          "Returns true if the texture objects for all the required graphics contexts are loaded. ",
	          "");
	I_Method1(unsigned int &, getTextureParameterDirty, IN, unsigned int, contextID,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getTextureParameterDirty__unsigned_int,
	          "Gets the dirty flag for the current contextID. ",
	          "");
	I_Method0(void, dirtyTextureParameters,
	          Properties::NON_VIRTUAL,
	          __void__dirtyTextureParameters,
	          "Force a reset on next apply() of associated OpenGL texture parameters. ",
	          "");
	I_Method0(void, allocateMipmapLevels,
	          Properties::NON_VIRTUAL,
	          __void__allocateMipmapLevels,
	          "Force a manual allocation of the mipmap levels on the next apply() call. ",
	          "User is responsible for filling the mipmap levels with valid data. The OpenGL's glGenerateMipmapEXT function is used to generate the mipmap levels. If glGenerateMipmapEXT is not supported or texture's internal format is not supported by the glGenerateMipmapEXT, then empty mipmap levels will be allocated manually. The mipmap levels are also allocated if a non-mipmapped min filter is used. ");
	I_Method1(void, setShadowComparison, IN, bool, flag,
	          Properties::NON_VIRTUAL,
	          __void__setShadowComparison__bool,
	          "Sets GL_TEXTURE_COMPARE_MODE_ARB to GL_COMPARE_R_TO_TEXTURE_ARB See http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow.txt. ",
	          "");
	I_Method0(bool, getShadowComparison,
	          Properties::NON_VIRTUAL,
	          __bool__getShadowComparison,
	          "",
	          "");
	I_Method1(void, setShadowCompareFunc, IN, osg::Texture::ShadowCompareFunc, func,
	          Properties::NON_VIRTUAL,
	          __void__setShadowCompareFunc__ShadowCompareFunc,
	          "Sets shadow texture comparison function. ",
	          "");
	I_Method0(osg::Texture::ShadowCompareFunc, getShadowCompareFunc,
	          Properties::NON_VIRTUAL,
	          __ShadowCompareFunc__getShadowCompareFunc,
	          "",
	          "");
	I_Method1(void, setShadowTextureMode, IN, osg::Texture::ShadowTextureMode, mode,
	          Properties::NON_VIRTUAL,
	          __void__setShadowTextureMode__ShadowTextureMode,
	          "Sets shadow texture mode after comparison. ",
	          "");
	I_Method0(osg::Texture::ShadowTextureMode, getShadowTextureMode,
	          Properties::NON_VIRTUAL,
	          __ShadowTextureMode__getShadowTextureMode,
	          "",
	          "");
	I_Method1(void, setShadowAmbient, IN, float, shadow_ambient,
	          Properties::NON_VIRTUAL,
	          __void__setShadowAmbient__float,
	          "Sets the TEXTURE_COMPARE_FAIL_VALUE_ARB texture parameter. ",
	          "See http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow_ambient.txt. ");
	I_Method0(float, getShadowAmbient,
	          Properties::NON_VIRTUAL,
	          __float__getShadowAmbient,
	          "",
	          "");
	I_Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image,
	          Properties::PURE_VIRTUAL,
	          __void__setImage__unsigned_int__Image_P1,
	          "Sets the texture image for the specified face. ",
	          "");
	I_Method1(osg::Image *, getImage, IN, unsigned int, face,
	          Properties::PURE_VIRTUAL,
	          __Image_P1__getImage__unsigned_int,
	          "Gets the texture image for the specified face. ",
	          "");
	I_Method1(const osg::Image *, getImage, IN, unsigned int, face,
	          Properties::PURE_VIRTUAL,
	          __C5_Image_P1__getImage__unsigned_int,
	          "Gets the const texture image for specified face. ",
	          "");
	I_Method0(unsigned int, getNumImages,
	          Properties::PURE_VIRTUAL,
	          __unsigned_int__getNumImages,
	          "Gets the number of images that can be assigned to this Texture. ",
	          "");
	I_Method1(void, setReadPBuffer, IN, osg::GraphicsContext *, context,
	          Properties::NON_VIRTUAL,
	          __void__setReadPBuffer__GraphicsContext_P1,
	          "Set the PBuffer graphics context to read from when using PBuffers for RenderToTexture. ",
	          "");
	I_Method0(osg::GraphicsContext *, getReadPBuffer,
	          Properties::NON_VIRTUAL,
	          __GraphicsContext_P1__getReadPBuffer,
	          "Get the PBuffer graphics context to read from when using PBuffers for RenderToTexture. ",
	          "");
	I_Method0(const osg::GraphicsContext *, getReadPBuffer,
	          Properties::NON_VIRTUAL,
	          __C5_GraphicsContext_P1__getReadPBuffer,
	          "Get the const PBuffer graphics context to read from when using PBuffers for RenderToTexture. ",
	          "");
	I_Method1(void, apply, IN, osg::State &, state,
	          Properties::PURE_VIRTUAL,
	          __void__apply__State_R1,
	          "Texture is a pure virtual base class, apply must be overridden. ",
	          "");
	I_Method1(void, compileGLObjects, IN, osg::State &, state,
	          Properties::VIRTUAL,
	          __void__compileGLObjects__State_R1,
	          "Calls apply(state) to compile the texture. ",
	          "");
	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,
	                      "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
	                      "Otherwise, releases OpenGL objects for all graphics contexts. ");
	I_Method6(void, applyTexImage2D_load, IN, osg::State &, state, IN, GLenum, target, IN, const osg::Image *, image, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, numMipmapLevels,
	          Properties::NON_VIRTUAL,
	          __void__applyTexImage2D_load__State_R1__GLenum__C5_Image_P1__GLsizei__GLsizei__GLsizei,
	          "Helper method. ",
	          "Creates the texture, but doesn't set or use a texture binding. Note: Don't call this method directly unless you're implementing a subload callback. ");
	I_Method7(void, applyTexImage2D_subload, IN, osg::State &, state, IN, GLenum, target, IN, const osg::Image *, image, IN, GLsizei, width, IN, GLsizei, height, IN, GLint, inInternalFormat, IN, GLsizei, numMipmapLevels,
	          Properties::NON_VIRTUAL,
	          __void__applyTexImage2D_subload__State_R1__GLenum__C5_Image_P1__GLsizei__GLsizei__GLint__GLsizei,
	          "Helper method. ",
	          "Subloads images into the texture, but doesn't set or use a texture binding. Note: Don't call this method directly unless you're implementing a subload callback. ");
	I_StaticMethod2(osg::Texture::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
	                __Extensions_P1__getExtensions__unsigned_int__bool_S,
	                "Gets the extension for the specified context. ",
	                "Creates the Extensions object for that context if it doesn't exist. Returns NULL if the Extensions object for the context doesn't exist and the createIfNotInitalized flag is false. ");
	I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture::Extensions *, extensions,
	                __void__setExtensions__unsigned_int__Extensions_P1_S,
	                "Overrides Extensions objects across graphics contexts. ",
	                "Typically used to ensure the same lowest common denominator of extensions on systems with different graphics pipes. ");
	I_StaticMethod1(bool, isCompressedInternalFormat, IN, GLint, internalFormat,
	                __bool__isCompressedInternalFormat__GLint_S,
	                "Determine whether the given internalFormat is a compressed image format. ",
	                "");
	I_StaticMethod6(void, getCompressedSize, IN, GLenum, internalFormat, IN, GLint, width, IN, GLint, height, IN, GLint, depth, IN, GLint &, blockSize, IN, GLint &, size,
	                __void__getCompressedSize__GLenum__GLint__GLint__GLint__GLint_R1__GLint_R1_S,
	                "Determine the size of a compressed image, given the internalFormat, the width, the height, and the depth of the image. ",
	                "The block size and the size are output parameters. ");
	I_StaticMethod1(osg::ref_ptr< osg::Texture::TextureObjectManager > &, getTextureObjectManager, IN, unsigned int, contextID,
	                __osg_ref_ptrT1_Texture_TextureObjectManager__R1__getTextureObjectManager__unsigned_int_S,
	                "",
	                "");
	I_StaticMethod3(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, unsigned int, contextID, IN, GLenum, target,
	                __TextureObject_P1__generateTextureObject__C5_Texture_P1__unsigned_int__GLenum_S,
	                "",
	                "");
	I_StaticMethod9(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, unsigned int, contextID, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	                __TextureObject_P1__generateTextureObject__C5_Texture_P1__unsigned_int__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint_S,
	                "",
	                "");
	I_StaticMethod1(void, setMinimumNumberOfTextureObjectsToRetainInCache, IN, unsigned int, minimum,
	                __void__setMinimumNumberOfTextureObjectsToRetainInCache__unsigned_int_S,
	                "Set the minimum number of texture objects to retain in the deleted display list cache. ",
	                "");
	I_StaticMethod0(unsigned int, getMinimumNumberOfTextureObjectsToRetainInCache,
	                __unsigned_int__getMinimumNumberOfTextureObjectsToRetainInCache_S,
	                "Get the minimum number of display lists to retain in the deleted display list cache. ",
	                "");
	I_StaticMethod1(void, deleteAllTextureObjects, IN, unsigned int, contextID,
	                __void__deleteAllTextureObjects__unsigned_int_S,
	                "",
	                "");
	I_StaticMethod1(void, discardAllTextureObjects, IN, unsigned int, contextID,
	                __void__discardAllTextureObjects__unsigned_int_S,
	                "",
	                "");
	I_StaticMethod1(void, flushAllDeletedTextureObjects, IN, unsigned int, contextID,
	                __void__flushAllDeletedTextureObjects__unsigned_int_S,
	                "",
	                "");
	I_StaticMethod1(void, discardAllDeletedTextureObjects, IN, unsigned int, contextID,
	                __void__discardAllDeletedTextureObjects__unsigned_int_S,
	                "",
	                "");
	I_StaticMethod3(void, flushDeletedTextureObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
	                __void__flushDeletedTextureObjects__unsigned_int__double__double_R1_S,
	                "",
	                "");
	I_StaticMethod2(void, releaseTextureObject, IN, unsigned int, contextID, IN, osg::Texture::TextureObject *, to,
	                __void__releaseTextureObject__unsigned_int__TextureObject_P1_S,
	                "",
	                "");
	I_ProtectedMethod0(void, computeInternalFormat,
	                   Properties::PURE_VIRTUAL,
	                   Properties::CONST,
	                   __void__computeInternalFormat,
	                   "",
	                   "");
	I_ProtectedMethod1(void, computeInternalFormatWithImage, IN, const osg::Image &, image,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__computeInternalFormatWithImage__C5_osg_Image_R1,
	                   "",
	                   "");
	I_ProtectedMethod5(void, computeRequiredTextureDimensions, IN, osg::State &, state, IN, const osg::Image &, image, IN, GLsizei &, width, IN, GLsizei &, height, IN, GLsizei &, numMipmapLevels,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__computeRequiredTextureDimensions__State_R1__C5_osg_Image_R1__GLsizei_R1__GLsizei_R1__GLsizei_R1,
	                   "",
	                   "");
	I_ProtectedMethod0(void, computeInternalFormatType,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__computeInternalFormatType,
	                   "",
	                   "");
	I_ProtectedMethod2(void, applyTexParameters, IN, GLenum, target, IN, osg::State &, state,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__applyTexParameters__GLenum__State_R1,
	                   "Helper method. ",
	                   "Sets texture parameters. ");
	I_ProtectedMethod1(bool, isHardwareMipmapGenerationEnabled, IN, const osg::State &, state,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __bool__isHardwareMipmapGenerationEnabled__C5_State_R1,
	                   "Returns true if _useHardwareMipMapGeneration is true and either glGenerateMipmapEXT() or GL_GENERATE_MIPMAP_SGIS are supported. ",
	                   "");
	I_ProtectedMethod2(osg::Texture::GenerateMipmapMode, mipmapBeforeTexImage, IN, const osg::State &, state, IN, bool, hardwareMipmapOn,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __GenerateMipmapMode__mipmapBeforeTexImage__C5_State_R1__bool,
	                   "Helper methods to be called before and after calling gl[Compressed][Copy]Tex[Sub]Image2D to handle generating mipmaps. ",
	                   "");
	I_ProtectedMethod2(void, mipmapAfterTexImage, IN, osg::State &, state, IN, osg::Texture::GenerateMipmapMode, beforeResult,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__mipmapAfterTexImage__State_R1__GenerateMipmapMode,
	                   "",
	                   "");
	I_ProtectedMethod1(void, generateMipmap, IN, osg::State &, state,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __void__generateMipmap__State_R1,
	                   "Helper method to generate mipmap levels by calling of glGenerateMipmapEXT. ",
	                   "If it is not supported, then call the virtual allocateMipmap() method ");
	I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state,
	                   Properties::PURE_VIRTUAL,
	                   Properties::CONST,
	                   __void__allocateMipmap__State_R1,
	                   "Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ",
	                   "");
	I_ProtectedMethod1(int, compareTexture, IN, const osg::Texture &, rhs,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __int__compareTexture__C5_Texture_R1,
	                   "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
	                   "");
	I_ProtectedMethod1(int, compareTextureObjects, IN, const osg::Texture &, rhs,
	                   Properties::NON_VIRTUAL,
	                   Properties::CONST,
	                   __int__compareTextureObjects__C5_Texture_R1,
	                   "Returns -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
	                   "");
	I_SimpleProperty(const osg::Vec4d &, BorderColor, 
	                 __C5_Vec4d_R1__getBorderColor, 
	                 __void__setBorderColor__C5_Vec4d_R1);
	I_SimpleProperty(GLint, BorderWidth, 
	                 __GLint__getBorderWidth, 
	                 __void__setBorderWidth__GLint);
	I_SimpleProperty(bool, ClientStorageHint, 
	                 __bool__getClientStorageHint, 
	                 __void__setClientStorageHint__bool);
	I_IndexedProperty(osg::Texture::FilterMode, Filter, 
	                  __FilterMode__getFilter__FilterParameter, 
	                  __void__setFilter__FilterParameter__FilterMode, 
	                  0);
	I_ArrayProperty(osg::Image *, Image, 
	                __Image_P1__getImage__unsigned_int, 
	                __void__setImage__unsigned_int__Image_P1, 
	                __unsigned_int__getNumImages, 
	                0, 
	                0, 
	                0);
	I_SimpleProperty(GLint, InternalFormat, 
	                 __GLint__getInternalFormat, 
	                 __void__setInternalFormat__GLint);
	I_SimpleProperty(osg::Texture::InternalFormatMode, InternalFormatMode, 
	                 __InternalFormatMode__getInternalFormatMode, 
	                 __void__setInternalFormatMode__InternalFormatMode);
	I_SimpleProperty(osg::Texture::InternalFormatType, InternalFormatType, 
	                 __InternalFormatType__getInternalFormatType, 
	                 0);
	I_SimpleProperty(float, MaxAnisotropy, 
	                 __float__getMaxAnisotropy, 
	                 __void__setMaxAnisotropy__float);
	I_SimpleProperty(osg::GraphicsContext *, ReadPBuffer, 
	                 __GraphicsContext_P1__getReadPBuffer, 
	                 __void__setReadPBuffer__GraphicsContext_P1);
	I_SimpleProperty(bool, ResizeNonPowerOfTwoHint, 
	                 __bool__getResizeNonPowerOfTwoHint, 
	                 __void__setResizeNonPowerOfTwoHint__bool);
	I_SimpleProperty(float, ShadowAmbient, 
	                 __float__getShadowAmbient, 
	                 __void__setShadowAmbient__float);
	I_SimpleProperty(osg::Texture::ShadowCompareFunc, ShadowCompareFunc, 
	                 __ShadowCompareFunc__getShadowCompareFunc, 
	                 __void__setShadowCompareFunc__ShadowCompareFunc);
	I_SimpleProperty(bool, ShadowComparison, 
	                 __bool__getShadowComparison, 
	                 __void__setShadowComparison__bool);
	I_SimpleProperty(osg::Texture::ShadowTextureMode, ShadowTextureMode, 
	                 __ShadowTextureMode__getShadowTextureMode, 
	                 __void__setShadowTextureMode__ShadowTextureMode);
	I_SimpleProperty(GLenum, SourceFormat, 
	                 __GLenum__getSourceFormat, 
	                 __void__setSourceFormat__GLenum);
	I_SimpleProperty(GLenum, SourceType, 
	                 __GLenum__getSourceType, 
	                 __void__setSourceType__GLenum);
	I_SimpleProperty(int, TextureDepth, 
	                 __int__getTextureDepth, 
	                 0);
	I_SimpleProperty(int, TextureHeight, 
	                 __int__getTextureHeight, 
	                 0);
	I_IndexedProperty(osg::Texture::TextureObject *, TextureObject, 
	                  __TextureObject_P1__getTextureObject__unsigned_int, 
	                  __void__setTextureObject__unsigned_int__TextureObject_P1, 
	                  0);
	I_SimpleProperty(GLenum, TextureTarget, 
	                 __GLenum__getTextureTarget, 
	                 0);
	I_SimpleProperty(int, TextureWidth, 
	                 __int__getTextureWidth, 
	                 0);
	I_SimpleProperty(osg::StateAttribute::Type, Type, 
	                 __Type__getType, 
	                 0);
	I_SimpleProperty(bool, UnRefImageDataAfterApply, 
	                 __bool__getUnRefImageDataAfterApply, 
	                 __void__setUnRefImageDataAfterApply__bool);
	I_SimpleProperty(bool, UseHardwareMipMapGeneration, 
	                 __bool__getUseHardwareMipMapGeneration, 
	                 __void__setUseHardwareMipMapGeneration__bool);
	I_IndexedProperty(osg::Texture::WrapMode, Wrap, 
	                  __WrapMode__getWrap__WrapParameter, 
	                  __void__setWrap__WrapParameter__WrapMode, 
	                  0);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObject)
	I_DeclaringFile("osg/Texture");
	I_BaseType(osg::Referenced);
	I_Constructor3(IN, osg::Texture *, texture, IN, GLuint, id, IN, GLenum, target,
	               ____TextureObject__Texture_P1__GLuint__GLenum,
	               "",
	               "");
	I_Constructor3(IN, osg::Texture *, texture, IN, GLuint, id, IN, const osg::Texture::TextureProfile &, profile,
	               ____TextureObject__Texture_P1__GLuint__C5_TextureProfile_R1,
	               "",
	               "");
	I_Constructor9(IN, osg::Texture *, texture, IN, GLuint, id, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	               ____TextureObject__Texture_P1__GLuint__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	               "",
	               "");
	I_Method7(bool, match, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	          Properties::NON_VIRTUAL,
	          __bool__match__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	          "",
	          "");
	I_Method0(void, bind,
	          Properties::NON_VIRTUAL,
	          __void__bind,
	          "",
	          "");
	I_Method0(GLenum, id,
	          Properties::NON_VIRTUAL,
	          __GLenum__id,
	          "",
	          "");
	I_Method0(GLenum, target,
	          Properties::NON_VIRTUAL,
	          __GLenum__target,
	          "",
	          "");
	I_Method0(unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__size,
	          "",
	          "");
	I_Method1(void, setTexture, IN, osg::Texture *, texture,
	          Properties::NON_VIRTUAL,
	          __void__setTexture__Texture_P1,
	          "",
	          "");
	I_Method0(osg::Texture *, getTexture,
	          Properties::NON_VIRTUAL,
	          __Texture_P1__getTexture,
	          "",
	          "");
	I_Method1(void, setTimeStamp, IN, double, timestamp,
	          Properties::NON_VIRTUAL,
	          __void__setTimeStamp__double,
	          "",
	          "");
	I_Method0(double, getTimeStamp,
	          Properties::NON_VIRTUAL,
	          __double__getTimeStamp,
	          "",
	          "");
	I_MethodWithDefaults1(void, setAllocated, IN, bool, allocated, true,
	                      Properties::NON_VIRTUAL,
	                      __void__setAllocated__bool,
	                      "",
	                      "");
	I_Method6(void, setAllocated, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	          Properties::NON_VIRTUAL,
	          __void__setAllocated__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	          "",
	          "");
	I_Method0(bool, isAllocated,
	          Properties::NON_VIRTUAL,
	          __bool__isAllocated,
	          "",
	          "");
	I_Method0(bool, isReusable,
	          Properties::NON_VIRTUAL,
	          __bool__isReusable,
	          "",
	          "");
	I_SimpleProperty(bool, Allocated, 
	                 0, 
	                 __void__setAllocated__bool);
	I_SimpleProperty(osg::Texture *, Texture, 
	                 __Texture_P1__getTexture, 
	                 __void__setTexture__Texture_P1);
	I_SimpleProperty(double, TimeStamp, 
	                 __double__getTimeStamp, 
	                 __void__setTimeStamp__double);
	I_PublicMemberProperty(GLuint, _id);
	I_PublicMemberProperty(osg::Texture::TextureProfile, _profile);
	I_PublicMemberProperty(osg::Texture::TextureObjectSet *, _set);
	I_PublicMemberProperty(osg::Texture::TextureObject *, _previous);
	I_PublicMemberProperty(osg::Texture::TextureObject *, _next);
	I_PublicMemberProperty(osg::Texture *, _texture);
	I_PublicMemberProperty(bool, _allocated);
	I_PublicMemberProperty(unsigned int, _frameLastUsed);
	I_PublicMemberProperty(double, _timeStamp);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObjectManager)
	I_DeclaringFile("osg/Texture");
	I_BaseType(osg::Referenced);
	I_Constructor1(IN, unsigned int, contextID,
	               Properties::NON_EXPLICIT,
	               ____TextureObjectManager__unsigned_int,
	               "",
	               "");
	I_Method0(unsigned int, getContextID,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getContextID,
	          "",
	          "");
	I_Method1(void, setNumberActiveTextureObjects, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __void__setNumberActiveTextureObjects__unsigned_int,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberActiveTextureObjects,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberActiveTextureObjects,
	          "",
	          "");
	I_Method0(unsigned int, getNumberActiveTextureObjects,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getNumberActiveTextureObjects,
	          "",
	          "");
	I_Method1(void, setNumberOrphanedTextureObjects, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __void__setNumberOrphanedTextureObjects__unsigned_int,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberOrphanedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberOrphanedTextureObjects,
	          "",
	          "");
	I_Method0(unsigned int, getNumberOrphanedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getNumberOrphanedTextureObjects,
	          "",
	          "");
	I_Method1(void, setCurrTexturePoolSize, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __void__setCurrTexturePoolSize__unsigned_int,
	          "",
	          "");
	I_Method0(unsigned int &, getCurrTexturePoolSize,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getCurrTexturePoolSize,
	          "",
	          "");
	I_Method0(unsigned int, getCurrTexturePoolSize,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getCurrTexturePoolSize,
	          "",
	          "");
	I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __void__setMaxTexturePoolSize__unsigned_int,
	          "",
	          "");
	I_Method0(unsigned int, getMaxTexturePoolSize,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__getMaxTexturePoolSize,
	          "",
	          "");
	I_Method1(bool, hasSpace, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __bool__hasSpace__unsigned_int,
	          "",
	          "");
	I_Method1(bool, makeSpace, IN, unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __bool__makeSpace__unsigned_int,
	          "",
	          "");
	I_Method2(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, GLenum, target,
	          Properties::NON_VIRTUAL,
	          __TextureObject_P1__generateTextureObject__C5_Texture_P1__GLenum,
	          "",
	          "");
	I_Method8(osg::Texture::TextureObject *, generateTextureObject, IN, const osg::Texture *, texture, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	          Properties::NON_VIRTUAL,
	          __TextureObject_P1__generateTextureObject__C5_Texture_P1__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	          "",
	          "");
	I_Method0(void, handlePendingOrphandedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__handlePendingOrphandedTextureObjects,
	          "",
	          "");
	I_Method0(void, deleteAllTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__deleteAllTextureObjects,
	          "",
	          "");
	I_Method0(void, discardAllTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__discardAllTextureObjects,
	          "",
	          "");
	I_Method0(void, flushAllDeletedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__flushAllDeletedTextureObjects,
	          "",
	          "");
	I_Method0(void, discardAllDeletedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__discardAllDeletedTextureObjects,
	          "",
	          "");
	I_Method2(void, flushDeletedTextureObjects, IN, double, currentTime, IN, double &, availableTime,
	          Properties::NON_VIRTUAL,
	          __void__flushDeletedTextureObjects__double__double_R1,
	          "",
	          "");
	I_Method1(void, releaseTextureObject, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__releaseTextureObject__TextureObject_P1,
	          "",
	          "");
	I_Method1(osg::Texture::TextureObjectSet *, getTextureObjectSet, IN, const osg::Texture::TextureProfile &, profile,
	          Properties::NON_VIRTUAL,
	          __TextureObjectSet_P1__getTextureObjectSet__C5_TextureProfile_R1,
	          "",
	          "");
	I_Method1(void, newFrame, IN, osg::FrameStamp *, fs,
	          Properties::NON_VIRTUAL,
	          __void__newFrame__osg_FrameStamp_P1,
	          "",
	          "");
	I_Method0(void, resetStats,
	          Properties::NON_VIRTUAL,
	          __void__resetStats,
	          "",
	          "");
	I_Method0(void, reportStats,
	          Properties::NON_VIRTUAL,
	          __void__reportStats,
	          "",
	          "");
	I_Method0(unsigned int &, getFrameNumber,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getFrameNumber,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberFrames,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberFrames,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberDeleted,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberDeleted,
	          "",
	          "");
	I_Method0(double &, getDeleteTime,
	          Properties::NON_VIRTUAL,
	          __double_R1__getDeleteTime,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberGenerated,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberGenerated,
	          "",
	          "");
	I_Method0(double &, getGenerateTime,
	          Properties::NON_VIRTUAL,
	          __double_R1__getGenerateTime,
	          "",
	          "");
	I_Method0(unsigned int &, getNumberApplied,
	          Properties::NON_VIRTUAL,
	          __unsigned_int_R1__getNumberApplied,
	          "",
	          "");
	I_Method0(double &, getApplyTime,
	          Properties::NON_VIRTUAL,
	          __double_R1__getApplyTime,
	          "",
	          "");
	I_SimpleProperty(double &, ApplyTime, 
	                 __double_R1__getApplyTime, 
	                 0);
	I_SimpleProperty(unsigned int, ContextID, 
	                 __unsigned_int__getContextID, 
	                 0);
	I_SimpleProperty(unsigned int, CurrTexturePoolSize, 
	                 __unsigned_int__getCurrTexturePoolSize, 
	                 __void__setCurrTexturePoolSize__unsigned_int);
	I_SimpleProperty(double &, DeleteTime, 
	                 __double_R1__getDeleteTime, 
	                 0);
	I_SimpleProperty(unsigned int &, FrameNumber, 
	                 __unsigned_int_R1__getFrameNumber, 
	                 0);
	I_SimpleProperty(double &, GenerateTime, 
	                 __double_R1__getGenerateTime, 
	                 0);
	I_SimpleProperty(unsigned int, MaxTexturePoolSize, 
	                 __unsigned_int__getMaxTexturePoolSize, 
	                 __void__setMaxTexturePoolSize__unsigned_int);
	I_SimpleProperty(unsigned int, NumberActiveTextureObjects, 
	                 __unsigned_int__getNumberActiveTextureObjects, 
	                 __void__setNumberActiveTextureObjects__unsigned_int);
	I_SimpleProperty(unsigned int &, NumberApplied, 
	                 __unsigned_int_R1__getNumberApplied, 
	                 0);
	I_SimpleProperty(unsigned int &, NumberDeleted, 
	                 __unsigned_int_R1__getNumberDeleted, 
	                 0);
	I_SimpleProperty(unsigned int &, NumberFrames, 
	                 __unsigned_int_R1__getNumberFrames, 
	                 0);
	I_SimpleProperty(unsigned int &, NumberGenerated, 
	                 __unsigned_int_R1__getNumberGenerated, 
	                 0);
	I_SimpleProperty(unsigned int, NumberOrphanedTextureObjects, 
	                 __unsigned_int__getNumberOrphanedTextureObjects, 
	                 __void__setNumberOrphanedTextureObjects__unsigned_int);
END_REFLECTOR

BEGIN_OBJECT_REFLECTOR(osg::Texture::TextureObjectSet)
	I_DeclaringFile("osg/Texture");
	I_BaseType(osg::Referenced);
	I_Constructor2(IN, osg::Texture::TextureObjectManager *, parent, IN, const osg::Texture::TextureProfile &, profile,
	               ____TextureObjectSet__TextureObjectManager_P1__C5_TextureProfile_R1,
	               "",
	               "");
	I_Method0(void, handlePendingOrphandedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__handlePendingOrphandedTextureObjects,
	          "",
	          "");
	I_Method0(void, deleteAllTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__deleteAllTextureObjects,
	          "",
	          "");
	I_Method0(void, discardAllTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__discardAllTextureObjects,
	          "",
	          "");
	I_Method0(void, flushAllDeletedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__flushAllDeletedTextureObjects,
	          "",
	          "");
	I_Method0(void, discardAllDeletedTextureObjects,
	          Properties::NON_VIRTUAL,
	          __void__discardAllDeletedTextureObjects,
	          "",
	          "");
	I_Method2(void, flushDeletedTextureObjects, IN, double, currentTime, IN, double &, availableTime,
	          Properties::NON_VIRTUAL,
	          __void__flushDeletedTextureObjects__double__double_R1,
	          "",
	          "");
	I_Method1(osg::Texture::TextureObject *, takeFromOrphans, IN, osg::Texture *, texture,
	          Properties::NON_VIRTUAL,
	          __TextureObject_P1__takeFromOrphans__Texture_P1,
	          "",
	          "");
	I_Method1(osg::Texture::TextureObject *, takeOrGenerate, IN, osg::Texture *, texture,
	          Properties::NON_VIRTUAL,
	          __TextureObject_P1__takeOrGenerate__Texture_P1,
	          "",
	          "");
	I_Method1(void, moveToBack, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__moveToBack__TextureObject_P1,
	          "",
	          "");
	I_Method1(void, addToBack, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__addToBack__TextureObject_P1,
	          "",
	          "");
	I_Method1(void, orphan, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__orphan__TextureObject_P1,
	          "",
	          "");
	I_Method1(void, remove, IN, osg::Texture::TextureObject *, to,
	          Properties::NON_VIRTUAL,
	          __void__remove__TextureObject_P1,
	          "",
	          "");
	I_Method2(void, moveToSet, IN, osg::Texture::TextureObject *, to, IN, osg::Texture::TextureObjectSet *, set,
	          Properties::NON_VIRTUAL,
	          __void__moveToSet__TextureObject_P1__TextureObjectSet_P1,
	          "",
	          "");
	I_Method0(unsigned int, size,
	          Properties::NON_VIRTUAL,
	          __unsigned_int__size,
	          "",
	          "");
	I_Method1(bool, makeSpace, IN, unsigned int &, size,
	          Properties::NON_VIRTUAL,
	          __bool__makeSpace__unsigned_int_R1,
	          "",
	          "");
	I_Method0(bool, checkConsistency,
	          Properties::NON_VIRTUAL,
	          __bool__checkConsistency,
	          "",
	          "");
	I_Method0(osg::Texture::TextureObjectManager *, getParent,
	          Properties::NON_VIRTUAL,
	          __TextureObjectManager_P1__getParent,
	          "",
	          "");
	I_SimpleProperty(osg::Texture::TextureObjectManager *, Parent, 
	                 __TextureObjectManager_P1__getParent, 
	                 0);
END_REFLECTOR

BEGIN_VALUE_REFLECTOR(osg::Texture::TextureProfile)
	I_DeclaringFile("osg/Texture");
	I_Constructor1(IN, GLenum, target,
	               Properties::NON_EXPLICIT,
	               ____TextureProfile__GLenum,
	               "",
	               "");
	I_Constructor7(IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	               ____TextureProfile__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	               "",
	               "");
	I_Method6(void, set, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	          Properties::NON_VIRTUAL,
	          __void__set__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	          "",
	          "");
	I_Method7(bool, match, IN, GLenum, target, IN, GLint, numMipmapLevels, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border,
	          Properties::NON_VIRTUAL,
	          __bool__match__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint,
	          "",
	          "");
	I_Method0(void, computeSize,
	          Properties::NON_VIRTUAL,
	          __void__computeSize,
	          "",
	          "");
	I_PublicMemberProperty(GLenum, _target);
	I_PublicMemberProperty(GLint, _numMipmapLevels);
	I_PublicMemberProperty(GLenum, _internalFormat);
	I_PublicMemberProperty(GLsizei, _width);
	I_PublicMemberProperty(GLsizei, _height);
	I_PublicMemberProperty(GLsizei, _depth);
	I_PublicMemberProperty(GLint, _border);
	I_PublicMemberProperty(unsigned int, _size);
END_REFLECTOR

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

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

STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Texture::TextureObject > >)

