47 #include <private/qgl_p.h> #define QT_END_NAMESPACE
This macro expands to.
static bool hasOpenGLPbuffers()
Returns true if the OpenGL pbuffer extension is present on this system; otherwise returns false...
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool bindToDynamicTexture(GLuint texture)
Generates and binds a 2D GL texture that is the same size as the pbuffer, and returns the texture's I...
bool init(const QSize &size, const QGLFormat &f, QGLWidget *shareWidget)
GLuint generateDynamicTexture() const
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
void releaseFromDynamicTexture()
Releases the pbuffer from any previously bound texture.