Public Types | |
typedef std::pair < BufferEntry, Image * > | BufferEntryImagePair |
Public Member Functions | |
PixelBufferObject (osg::Image *image=0) | |
PixelBufferObject (const PixelBufferObject &pbo, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osg, PixelBufferObject) | |
void | setImage (osg::Image *image) |
Image * | getImage () |
const Image * | getImage () const |
unsigned int | offset () const |
virtual void | compileBuffer (State &state) const |
virtual void | resizeGLObjectBuffers (unsigned int maxSize) |
Resize any per context GLObject buffers to specified size. | |
Protected Member Functions | |
virtual | ~PixelBufferObject () |
Protected Attributes | |
BufferEntryImagePair | _bufferEntryImagePair |
typedef std::pair< BufferEntry, Image* > osg::PixelBufferObject::BufferEntryImagePair |
osg::PixelBufferObject::PixelBufferObject | ( | osg::Image * | image = 0 |
) |
osg::PixelBufferObject::PixelBufferObject | ( | const PixelBufferObject & | pbo, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::PixelBufferObject::~PixelBufferObject | ( | ) | [protected, virtual] |
osg::PixelBufferObject::META_Object | ( | osg | , | |
PixelBufferObject | ||||
) |
void osg::PixelBufferObject::setImage | ( | osg::Image * | image | ) |
Image* osg::PixelBufferObject::getImage | ( | ) | [inline] |
const Image* osg::PixelBufferObject::getImage | ( | ) | const [inline] |
unsigned int osg::PixelBufferObject::offset | ( | ) | const [inline] |
virtual void osg::PixelBufferObject::compileBuffer | ( | State & | state | ) | const [virtual] |
Implements osg::BufferObject.
virtual void osg::PixelBufferObject::resizeGLObjectBuffers | ( | unsigned int | maxSize | ) | [virtual] |