Updated wrappers

This commit is contained in:
Robert Osfield
2009-02-11 20:02:45 +00:00
parent b4e0acc7b3
commit 957708b4be
211 changed files with 973 additions and 3861 deletions

View File

@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
__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,
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an attribute, with Object* return type. ",
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
__int__compare__C5_osg_StateAttribute_R1,
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
"");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
@@ -145,12 +145,12 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
__void__dirtyFragmentProgramObject,
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
"");
I_Method1(void, apply, IN, osg::State &, state,
I_Method1(void, apply, IN, osg::State &, x,
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_Method1(void, compileGLObjects, IN, osg::State &, state,
I_Method1(void, compileGLObjects, IN, osg::State &, x,
Properties::VIRTUAL,
__void__compileGLObjects__State_R1,
"Default to nothing to compile - all state is applied immediately. ",
@@ -199,74 +199,6 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
I_DeclaringFile("osg/FragmentProgram");
I_BaseType(osg::Referenced);
I_Constructor1(IN, unsigned int, contextID,
Properties::NON_EXPLICIT,
____Extensions__unsigned_int,
"",
"");
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs,
Properties::NON_EXPLICIT,
____Extensions__C5_Extensions_R1,
"",
"");
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::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, setFragmentProgramSupported, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setFragmentProgramSupported__bool,
"",
"");
I_Method0(bool, isFragmentProgramSupported,
Properties::NON_VIRTUAL,
__bool__isFragmentProgramSupported,
"",
"");
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
Properties::NON_VIRTUAL,
__void__glBindProgram__GLenum__GLuint,
"",
"");
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
Properties::NON_VIRTUAL,
__void__glGenPrograms__GLsizei__GLuint_P1,
"",
"");
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
Properties::NON_VIRTUAL,
__void__glDeletePrograms__GLsizei__GLuint_P1,
"",
"");
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
Properties::NON_VIRTUAL,
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
"",
"");
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
Properties::NON_VIRTUAL,
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
"",
"");
I_SimpleProperty(bool, FragmentProgramSupported,
0,
__void__setFragmentProgramSupported__bool);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >)
STD_MAP_REFLECTOR(std::map< GLuint COMMA osg::Vec4 >)