Added osg::BufferObject and a made a number associated to accomodate this

new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
This commit is contained in:
Robert Osfield
2005-02-09 10:39:45 +00:00
parent 1a9b5ddbbf
commit 117c791a3b
34 changed files with 1017 additions and 253 deletions

View File

@@ -20,6 +20,9 @@ ImageStream::ImageStream():
_loopingMode(LOOPING)
{
setDataVariance(DYNAMIC);
#if 1
setPixelBufferObject(new PixelBufferObject(this));
#endif
}
ImageStream::ImageStream(const ImageStream& image,const CopyOp& copyop):