Files
OpenSceneGraph/src/osgWrappers/osg/TextureCubeMap.cpp
Robert Osfield 5889052f5a Updated wrappers
2006-08-03 16:04:43 +00:00

95 lines
4.0 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/TextureCubeMap>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::TextureCubeMap::Face)
I_EnumLabel(osg::TextureCubeMap::POSITIVE_X);
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_X);
I_EnumLabel(osg::TextureCubeMap::POSITIVE_Y);
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Y);
I_EnumLabel(osg::TextureCubeMap::POSITIVE_Z);
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Z);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
I_BaseType(osg::Texture);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::TextureCubeMap &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_Method0(osg::StateAttribute::Type, getType);
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs);
I_Method0(GLenum, getTextureTarget);
I_Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image);
I_Method1(osg::Image *, getImage, IN, unsigned int, face);
I_Method1(const osg::Image *, getImage, IN, unsigned int, face);
I_Method0(unsigned int, getNumImages);
I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, face, IN, unsigned int, contextID);
I_Method2(void, setTextureSize, IN, int, width, IN, int, height);
I_Method1(void, setTextureWidth, IN, int, width);
I_Method1(void, setTextureHeight, IN, int, height);
I_Method0(int, getTextureWidth);
I_Method0(int, getTextureHeight);
I_Method0(int, getTextureDepth);
I_Method1(void, setSubloadCallback, IN, osg::TextureCubeMap::SubloadCallback *, cb);
I_Method0(osg::TextureCubeMap::SubloadCallback *, getSubloadCallback);
I_Method0(const osg::TextureCubeMap::SubloadCallback *, getSubloadCallback);
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num);
I_Method0(unsigned int, getNumMipmapLevels);
I_Method8(void, copyTexSubImageCubeMap, IN, osg::State &, state, IN, int, face, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height);
I_Method1(void, apply, IN, osg::State &, state);
I_ArrayProperty_G(osg::Image *, Image, Images, unsigned int, void);
I_WriteOnlyProperty(unsigned int, NumMipmapLevels);
I_Property(osg::TextureCubeMap::SubloadCallback *, SubloadCallback);
I_ReadOnlyProperty(int, TextureDepth);
I_Property(int, TextureHeight);
I_ReadOnlyProperty(GLenum, TextureTarget);
I_Property(int, TextureWidth);
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions)
I_BaseType(osg::Referenced);
I_Constructor1(IN, unsigned int, contextID);
I_Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs);
I_Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs);
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
I_Method1(void, setCubeMapSupported, IN, bool, flag);
I_Method0(bool, isCubeMapSupported);
I_WriteOnlyProperty(bool, CubeMapSupported);
I_WriteOnlyProperty(unsigned int, upGLExtenions);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
I_BaseType(osg::Referenced);
I_Constructor0();
I_Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state);
I_Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state);
END_REFLECTOR