NAME

Qt::OpenGL::QGLFormat

PUBLIC METHODS

QGLFormat()
QGLFormat(const QGLFormat & other)
QGLFormat(QFlags<QGL::FormatOption> options, int plane)
QGLFormat(QFlags<QGL::FormatOption> options, int plane = 0)
~QGLFormat()
bool accum()
int accumBufferSize()
bool alpha()
int alphaBufferSize()
int blueBufferSize()
static QGLFormat defaultFormat()
static QGLFormat defaultOverlayFormat()
bool depth()
int depthBufferSize()
bool directRendering()
bool doubleBuffer()
int greenBufferSize()
static bool hasOpenGL()
static bool hasOpenGLOverlays()
bool hasOverlay()
int majorVersion()
int minorVersion()
static QFlags<QGLFormat::OpenGLVersionFlag> openGLVersionFlags()
QGLFormat & operator=(const QGLFormat & other)
int plane()
QGLFormat::OpenGLContextProfile profile()
int redBufferSize()
bool rgba()
bool sampleBuffers()
int samples()
void setAccum(bool enable)
void setAccumBufferSize(int size)
void setAlpha(bool enable)
void setAlphaBufferSize(int size)
void setBlueBufferSize(int size)
static void setDefaultFormat(const QGLFormat & f)
static void setDefaultOverlayFormat(const QGLFormat & f)
void setDepth(bool enable)
void setDepthBufferSize(int size)
void setDirectRendering(bool enable)
void setDoubleBuffer(bool enable)
void setGreenBufferSize(int size)
void setOption(QFlags<QGL::FormatOption> opt)
void setOverlay(bool enable)
void setPlane(int plane)
void setProfile(QGLFormat::OpenGLContextProfile profile)
void setRedBufferSize(int size)
void setRgba(bool enable)
void setSampleBuffers(bool enable)
void setSamples(int numSamples)
void setStencil(bool enable)
void setStencilBufferSize(int size)
void setStereo(bool enable)
void setSwapInterval(int interval)
void setVersion(int major, int minor)
bool stencil()
int stencilBufferSize()
bool stereo()
int swapInterval()
bool testOption(QFlags<QGL::FormatOption> opt)

ENUM VALUES

NoProfile
CoreProfile
CompatibilityProfile
OpenGL_Version_None
OpenGL_Version_1_1
OpenGL_Version_1_2
OpenGL_Version_1_3
OpenGL_Version_1_4
OpenGL_Version_1_5
OpenGL_Version_2_0
OpenGL_Version_2_1
OpenGL_ES_Common_Version_1_0
OpenGL_ES_CommonLite_Version_1_0
OpenGL_ES_Common_Version_1_1
OpenGL_ES_CommonLite_Version_1_1
OpenGL_ES_Version_2_0
OpenGL_Version_3_0
OpenGL_Version_3_1
OpenGL_Version_3_2
OpenGL_Version_3_3
OpenGL_Version_4_0

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.

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