Updated wrappers

This commit is contained in:
Robert Osfield 2009-10-10 10:54:33 +00:00
parent ef1c9d9e3c
commit 2c4b60cafc
2 changed files with 34 additions and 0 deletions

View File

@ -397,6 +397,10 @@ BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Mode)
I_EnumLabel(osg::PrimitiveSet::QUADS);
I_EnumLabel(osg::PrimitiveSet::QUAD_STRIP);
I_EnumLabel(osg::PrimitiveSet::POLYGON);
I_EnumLabel(osg::PrimitiveSet::LINES_ADJACENCY);
I_EnumLabel(osg::PrimitiveSet::LINE_STRIP_ADJACENCY);
I_EnumLabel(osg::PrimitiveSet::TRIANGLES_ADJACENCY);
I_EnumLabel(osg::PrimitiveSet::TRIANGLE_STRIP_ADJECENCY);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet)

View File

@ -21,6 +21,7 @@
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/StateSet>
#include <osg/Uniform>
#include <osg/Viewport>
// Must undefine IN and OUT macros defined in Windows headers
@ -166,6 +167,26 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
__C5_osg_Matrix_R1__getModelViewMatrix,
"",
"");
I_Method0(void, applyModelViewAndProjectionUniformsIfRequired,
Properties::NON_VIRTUAL,
__void__applyModelViewAndProjectionUniformsIfRequired,
"",
"");
I_Method0(osg::Uniform *, getModelViewMatrixUniform,
Properties::NON_VIRTUAL,
__osg_Uniform_P1__getModelViewMatrixUniform,
"",
"");
I_Method0(osg::Uniform *, getProjectionMatrixUniform,
Properties::NON_VIRTUAL,
__osg_Uniform_P1__getProjectionMatrixUniform,
"",
"");
I_Method0(osg::Uniform *, getModelViewProjectionMatrixUniform,
Properties::NON_VIRTUAL,
__osg_Uniform_P1__getModelViewProjectionMatrixUniform,
"",
"");
I_Method0(osg::Polytope, getViewFrustum,
Properties::NON_VIRTUAL,
__Polytope__getViewFrustum,
@ -883,12 +904,21 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
I_SimpleProperty(const osg::Matrix &, ModelViewMatrix,
__C5_osg_Matrix_R1__getModelViewMatrix,
0);
I_SimpleProperty(osg::Uniform *, ModelViewMatrixUniform,
__osg_Uniform_P1__getModelViewMatrixUniform,
0);
I_SimpleProperty(osg::Uniform *, ModelViewProjectionMatrixUniform,
__osg_Uniform_P1__getModelViewProjectionMatrixUniform,
0);
I_SimpleProperty(const osg::Array *, NormalPointer,
0,
__void__setNormalPointer__C5_Array_P1);
I_SimpleProperty(const osg::Matrix &, ProjectionMatrix,
__C5_osg_Matrix_R1__getProjectionMatrix,
0);
I_SimpleProperty(osg::Uniform *, ProjectionMatrixUniform,
__osg_Uniform_P1__getProjectionMatrixUniform,
0);
I_SimpleProperty(const osg::Array *, SecondaryColorPointer,
0,
__void__setSecondaryColorPointer__C5_Array_P1);