An object which wraps an OpenGL pixel buffer object and allows for asynchronous downloads of texture data.
More...
Detailed Description
An object which wraps an OpenGL pixel buffer object and allows for asynchronous downloads of texture data.
Constructor & Destructor Documentation
| makVrv::DtPixelBufferObject::DtPixelBufferObject |
( |
| ) |
|
| makVrv::DtPixelBufferObject::~DtPixelBufferObject |
( |
| ) |
|
Member Function Documentation
| void makVrv::DtPixelBufferObject::downloadFromTexture |
( |
unsigned int |
texture, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
Starts downloading the texture from memory.
| void makVrv::DtPixelBufferObject::getData |
( |
void * |
data | ) |
|
Get the data by copying it into the available data.
Warning! this will block until downloading is complete. Warning! if downloading has not started no data will be available. Warning! data must be atleast bufferSize bytes.
| unsigned int makVrv::DtPixelBufferObject::bufferSize |
( |
| ) |
const |
Return the buffered data in bytes.
Member Data Documentation
| unsigned int makVrv::DtPixelBufferObject::myBufferObject |
|
protected |
| unsigned int makVrv::DtPixelBufferObject::myBufferSize |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrvGraphics/DtPixelBufferObject.h