26 void downloadFromTexture(
unsigned int texture,
int w,
int h);
32 void getData(
void* data);
35 unsigned int bufferSize()
const;
38 virtual void setupPixelBufferObjects(
int numBuffers );
An object which wraps an OpenGL pixel buffer object and allows for asynchronous downloads of texture ...
Definition: DtPixelBufferObject.h:18
unsigned int myBufferSize
Definition: DtPixelBufferObject.h:50
std::vector< unsigned int > myPbos
Pixel Buffer Object.
Definition: DtPixelBufferObject.h:42
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
int myMutableWriteIndex
Write buffer index.
Definition: DtPixelBufferObject.h:45
std::vector< GLsync > myFences
Definition: DtPixelBufferObject.h:43
int myMutableReadIndex
Read buffer index.
Definition: DtPixelBufferObject.h:48