Updated wrappers

This commit is contained in:
Robert Osfield 2008-07-22 15:21:24 +00:00
parent 669d6be0b2
commit ec13321bd7
2 changed files with 21 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/StateSet>
#include <osg/Texture>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@ -131,6 +132,16 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
__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::PURE_VIRTUAL,
__Type__getType,

View File

@ -136,6 +136,16 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
__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,