Readbility improvements and updating version to 152

This commit is contained in:
OpenSceneGraph git repository 2017-11-11 13:08:42 +00:00 committed by GitHub
parent 3567e31009
commit 729680714c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,50 +7,62 @@
#include <osgDB/InputStream> #include <osgDB/InputStream>
#include <osgDB/OutputStream> #include <osgDB/OutputStream>
namespace wrap_osgAnimationRigTransform{ namespace wrap_osgAnimationRigTransform
{
REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransform, REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransform,
NULL, NULL,
osgAnimation::RigTransform, osgAnimation::RigTransform,
"osg::Object osgAnimation::RigTransform" ){} "osg::Object osgAnimation::RigTransform" ){}
} }
namespace wrap_osgAnimationRigTransformSoftWare{
namespace wrap_osgAnimationRigTransformSoftWare
{
REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransformSoftware, REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransformSoftware,
new osgAnimation::RigTransformSoftware, new osgAnimation::RigTransformSoftware,
osgAnimation::RigTransformSoftware, osgAnimation::RigTransformSoftware,
"osg::Object osgAnimation::RigTransform osgAnimation::RigTransformSoftware" ){} "osg::Object osgAnimation::RigTransform osgAnimation::RigTransformSoftware" ){}
} }
namespace wrap_osgAnimationRigTransformHardWare{
namespace wrap_osgAnimationRigTransformHardWare
{
REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransformHardware, REGISTER_OBJECT_WRAPPER( osgAnimation_RigTransformHardware,
new osgAnimation::RigTransformHardware, new osgAnimation::RigTransformHardware,
osgAnimation::RigTransformHardware, osgAnimation::RigTransformHardware,
"osg::Object osgAnimation::RigTransform osgAnimation::RigTransformHardware" ){ "osg::Object osgAnimation::RigTransform osgAnimation::RigTransformHardware" )
{ {
UPDATE_TO_VERSION_SCOPED(150) {
UPDATE_TO_VERSION_SCOPED(152)
ADD_OBJECT_SERIALIZER(Shader, osg::Shader, NULL); ADD_OBJECT_SERIALIZER(Shader, osg::Shader, NULL);
ADD_UINT_SERIALIZER(FirstVertexAttributeTarget, RIGTRANSHW_DEFAULT_FIRST_VERTATTRIB_TARGETTED); ADD_UINT_SERIALIZER(FirstVertexAttributeTarget, RIGTRANSHW_DEFAULT_FIRST_VERTATTRIB_TARGETTED);
} }
} }
} }
namespace wrap_osgAnimationMorphTransform{ namespace wrap_osgAnimationMorphTransform
{
REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransform, REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransform,
NULL, NULL,
osgAnimation::MorphTransform, osgAnimation::MorphTransform,
"osg::Object osgAnimation::MorphTransform" ){} "osg::Object osgAnimation::MorphTransform" ){}
} }
namespace wrap_osgAnimationMorphTransformSoftWare{
namespace wrap_osgAnimationMorphTransformSoftWare
{
REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransformSoftware, REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransformSoftware,
new osgAnimation::MorphTransformSoftware, new osgAnimation::MorphTransformSoftware,
osgAnimation::MorphTransformSoftware, osgAnimation::MorphTransformSoftware,
"osg::Object osgAnimation::MorphTransform osgAnimation::MorphTransformSoftware" ){} "osg::Object osgAnimation::MorphTransform osgAnimation::MorphTransformSoftware" ){}
} }
namespace wrap_osgAnimationMorphTransformHardware{
namespace wrap_osgAnimationMorphTransformHardware
{
REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransformHardware, REGISTER_OBJECT_WRAPPER( osgAnimation_MorphTransformHardware,
new osgAnimation::MorphTransformHardware, new osgAnimation::MorphTransformHardware,
osgAnimation::MorphTransformHardware, osgAnimation::MorphTransformHardware,
"osg::Object osgAnimation::MorphTransform osgAnimation::MorphTransformHardware" ){ "osg::Object osgAnimation::MorphTransform osgAnimation::MorphTransformHardware"
{ {
UPDATE_TO_VERSION_SCOPED(150) {
UPDATE_TO_VERSION_SCOPED(152)
ADD_OBJECT_SERIALIZER(Shader, osg::Shader, NULL); ADD_OBJECT_SERIALIZER(Shader, osg::Shader, NULL);
ADD_UINT_SERIALIZER(ReservedTextureUnit, MORPHTRANSHW_DEFAULTMORPHTEXTUREUNIT); ADD_UINT_SERIALIZER(ReservedTextureUnit, MORPHTRANSHW_DEFAULTMORPHTEXTUREUNIT);
} }