NAME

Qt::OpenGL::QGLPixelBuffer

PUBLIC METHODS

QGLPixelBuffer(const QSize & size, const QGLFormat & format, QGLWidget * shareWidget)
QGLPixelBuffer(const QSize & size, const QGLFormat & format, QGLWidget * shareWidget = 0)
QGLPixelBuffer(const QSize & size, const QGLFormat & format = QGLFormat::defaultFormat(), QGLWidget * shareWidget = 0)
QGLPixelBuffer(int width, int height, const QGLFormat & format, QGLWidget * shareWidget)
QGLPixelBuffer(int width, int height, const QGLFormat & format, QGLWidget * shareWidget = 0)
QGLPixelBuffer(int width, int height, const QGLFormat & format = QGLFormat::defaultFormat(), QGLWidget * shareWidget = 0)
~QGLPixelBuffer()
GLuint bindTexture(const QString & fileName)
GLuint bindTexture(const QImage & image, GLenum target)
GLuint bindTexture(const QImage & image, GLenum target = GL_TEXTURE_2D)
GLuint bindTexture(const QPixmap & pixmap, GLenum target)
GLuint bindTexture(const QPixmap & pixmap, GLenum target = GL_TEXTURE_2D)
bool bindToDynamicTexture(GLuint texture)
void deleteTexture(GLuint texture_id)
bool doneCurrent()
void drawTexture(const QRectF & target, GLuint textureId, GLenum textureTarget)
void drawTexture(const QRectF & target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D)
void drawTexture(const QPointF & point, GLuint textureId, GLenum textureTarget)
void drawTexture(const QPointF & point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D)
QGLFormat format()
GLuint generateDynamicTexture()
unsigned long handle()
static bool hasOpenGLPbuffers()
bool isValid()
bool makeCurrent()
QPaintEngine * paintEngine()
void releaseFromDynamicTexture()
QSize size()
QImage toImage()
void updateDynamicTexture(GLuint texture_id)

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html