diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-11-26 09:56:47 +0100 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-11-26 12:05:22 +0100 |
commit | 32b8c1cd7042aadc02dc3770b25d794d673af44f (patch) | |
tree | 4245b6ce62245a2f178c290d975b75dd504fddee /src/opengl/qglframebufferobject.h | |
parent | 7643d1016a6b4776cf671bbc595ec83002d2cc4e (diff) | |
download | qt4-tools-32b8c1cd7042aadc02dc3770b25d794d673af44f.tar.gz |
Added mipmap property to QGLFramebufferObjectFormat.
If the mipmap property is set, QGLFramebufferObject will
allocate memory for mipmap levels.
Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r-- | src/opengl/qglframebufferobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h index 6ff66457f7..70d6eb2971 100644 --- a/src/opengl/qglframebufferobject.h +++ b/src/opengl/qglframebufferobject.h @@ -148,6 +148,9 @@ public: void setSamples(int samples); int samples() const; + void setMipmap(bool enabled); + bool mipmap() const; + void setAttachment(QGLFramebufferObject::Attachment attachment); QGLFramebufferObject::Attachment attachment() const; |