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 bool | needsCompile (unsigned int contextID) const |
virtual void | compileBuffer (State &state) const |
Protected Member Functions | |
virtual | ~PixelBufferObject () |
Protected Attributes | |
BufferEntryImagePair | _bufferEntryImagePair |
|
|
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
Implements osg::BufferObject. |
|
|
|
|
|
|
|
Implements osg::BufferObject. |
|
|
|
|
|
|