Class to manage QGlPixelBuffer and QGlFramebufferObject Singleton class to manager QGlPixelBuffer and QGlFramebufferObject.
More...
#include <QGlBufferManager.h>
Detailed Description
Class to manage QGlPixelBuffer and QGlFramebufferObject Singleton class to manager QGlPixelBuffer and QGlFramebufferObject.
Member Function Documentation
| bool tlp::QGlBufferManager::canUseFramebufferObject |
( |
| ) |
|
|
inline |
Return if QGlFramebufferObject can be used
| bool tlp::QGlBufferManager::canUsePixelBuffer |
( |
| ) |
|
|
inline |
Return if QGlPixelBuffer can be used
| static void tlp::QGlBufferManager::createInst |
( |
| ) |
|
|
static |
Create the QGlBuffer manager singleton
| QGLFramebufferObject* tlp::QGlBufferManager::getFramebufferObject |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Return a QGLFramebufferObject with given size
Return the QGlBuffer manager singleton, il singleton doesn't exist this function create it
| QGLPixelBuffer* tlp::QGlBufferManager::getPixelBuffer |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Return a QGlPixelBuffer with given size