Added basic image sequencing

This commit is contained in:
Robert Osfield
2008-07-21 17:28:22 +00:00
parent f088d113f6
commit acd7e65687
7 changed files with 119 additions and 60 deletions

View File

@@ -12,6 +12,7 @@
#include <osg/BufferObject>
#include <osg/CopyOp>
#include <osg/FrameStamp>
#include <osg/Image>
#include <osg/Object>
#include <osg/Vec2>
@@ -351,6 +352,21 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
__C5_PixelBufferObject_P1__getPixelBufferObject,
"Get the const PixelBufferObject. ",
"");
I_Method1(void, setCallUpdateInDraw, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setCallUpdateInDraw__bool,
"",
"");
I_Method0(bool, getCallUpdateInDraw,
Properties::NON_VIRTUAL,
__bool__getCallUpdateInDraw,
"",
"");
I_Method1(void, update, IN, const osg::FrameStamp *, fs,
Properties::VIRTUAL,
__void__update__C5_osg_FrameStamp_P1,
"",
"");
I_StaticMethod1(bool, isPackedType, IN, GLenum, type,
__bool__isPackedType__GLenum_S,
"",
@@ -394,6 +410,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
I_SimpleProperty(osg::Image::AllocationMode, AllocationMode,
__AllocationMode__getAllocationMode,
__void__setAllocationMode__AllocationMode);
I_SimpleProperty(bool, CallUpdateInDraw,
__bool__getCallUpdateInDraw,
__void__setCallUpdateInDraw__bool);
I_SimpleProperty(GLenum, DataType,
__GLenum__getDataType,
__void__setDataType__GLenum);