List of all members.
Detailed Description
This object represent a general class of pixel buffer objects, which are capable of allocating buffer object (memory) on the GPU. The memory can then be used either for CPU-GPU pixel transfer or directly for GPU-GPU transfer, without CPU intervention.
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
osg::PixelDataBufferObject::PixelDataBufferObject |
( |
) |
|
virtual osg::PixelDataBufferObject::~PixelDataBufferObject |
( |
) |
[protected, virtual] |
Member Function Documentation
virtual void osg::PixelDataBufferObject::bindBufferInReadMode |
( |
State & |
state ) |
[virtual] |
Bind the buffer in read mode, which means that data can be downloaded from the buffer (note: GL_PIXEL_UNPACK_BUFFER_ARB)
virtual void osg::PixelDataBufferObject::bindBufferInWriteMode |
( |
State & |
state ) |
[virtual] |
Bind the buffer in write mode, which means following OpenGL instructions will write data into the buffer (note: GL_PIXEL_PACK_BUFFER_ARB)
virtual void osg::PixelDataBufferObject::compileBuffer |
( |
State & |
state ) |
const [virtual] |
Compile the buffer (reallocate the memory if buffer is dirty)
Implements osg::BufferObject.
unsigned int osg::PixelDataBufferObject::getDataSize |
( |
) |
[inline] |
Get data size of the used buffer.
Mode osg::PixelDataBufferObject::getMode |
( |
unsigned int |
contextID ) |
const [inline] |
virtual void osg::PixelDataBufferObject::resizeGLObjectBuffers |
( |
unsigned int |
maxSize ) |
[virtual] |
Resize any per context GLObject buffers to specified size.
Reimplemented from osg::BufferObject.
void osg::PixelDataBufferObject::setDataSize |
( |
unsigned int |
size ) |
[inline] |
Set new size of the buffer object. This will reallocate the memory on the next compile.
virtual void osg::PixelDataBufferObject::unbindBuffer |
( |
unsigned int |
contextID ) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: