NAME
Qt::OpenGL::QGLWidget
PUBLIC METHODS
- ~QGLWidget()
- GLuint bindTexture(const QString & fileName)
- GLuint bindTexture(const QImage & image, GLenum target, GLint format)
- GLuint bindTexture(const QImage & image, GLenum target, GLint format = GL_RGBA)
- GLuint bindTexture(const QImage & image, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA)
- GLuint bindTexture(const QPixmap & pixmap, GLenum target, GLint format)
- GLuint bindTexture(const QPixmap & pixmap, GLenum target, GLint format = GL_RGBA)
- GLuint bindTexture(const QPixmap & pixmap, GLenum target = GL_TEXTURE_2D, GLint format = GL_RGBA)
- GLuint bindTexture(const QImage & image, GLenum target, GLint format, QFlags<QGLContext::BindOption> options)
- GLuint bindTexture(const QPixmap & pixmap, GLenum target, GLint format, QFlags<QGLContext::BindOption> options)
- const QGLColormap & colormap()
- const QGLContext * context()
- static QImage convertToGLFormat(const QImage & img)
- void deleteTexture(GLuint tx_id)
- void doneCurrent()
- bool doubleBuffer()
- 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()
- QImage grabFrameBuffer(bool withAlpha)
- QImage grabFrameBuffer(bool withAlpha = false)
- bool isSharing()
- bool isValid()
- void makeCurrent()
- void makeOverlayCurrent()
- const QGLContext * overlayContext()
- QPaintEngine * paintEngine()
- void qglClearColor(const QColor & c)
- void qglColor(const QColor & c)
- QPixmap renderPixmap(int w, int h, bool useContext)
- QPixmap renderPixmap(int w, int h, bool useContext = false)
- QPixmap renderPixmap(int w, int h = 0, bool useContext = false)
- QPixmap renderPixmap(int w = 0, int h = 0, bool useContext = false)
- void renderText(int x, int y, const QString & str, const QFont & fnt, int listBase)
- void renderText(int x, int y, const QString & str, const QFont & fnt, int listBase = 2000)
- void renderText(int x, int y, const QString & str, const QFont & fnt = QFont(), int listBase = 2000)
- void renderText(double x, double y, double z, const QString & str, const QFont & fnt, int listBase)
- void renderText(double x, double y, double z, const QString & str, const QFont & fnt, int listBase = 2000)
- void renderText(double x, double y, double z, const QString & str, const QFont & fnt = QFont(), int listBase = 2000)
- void setColormap(const QGLColormap & map)
- void setFormat(const QGLFormat & format)
- void setMouseTracking(bool enable)
- void swapBuffers()
- void updateGL()
- void updateOverlayGL()
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.