Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QGL Namespace Reference
[QtOpenGL module]

The QGL namespace specifies miscellaneous identifiers used in the Qt OpenGL module. More...

 #include <QGL>

Types


Detailed Description

The QGL namespace specifies miscellaneous identifiers used in the Qt OpenGL module.


Type Documentation

enum QGL::FormatOption
flags QGL::FormatOptions

This enum specifies the format options.

ConstantValue
QGL::DoubleBuffer0x0001
QGL::DepthBuffer0x0002
QGL::Rgba0x0004
QGL::AlphaChannel0x0008
QGL::AccumBuffer0x0010
QGL::StencilBuffer0x0020
QGL::StereoBuffers0x0040
QGL::DirectRendering0x0080
QGL::HasOverlay0x0100
QGL::SampleBuffers0x0200
QGL::SingleBufferDoubleBuffer<<16
QGL::NoDepthBufferDepthBuffer<<16
QGL::ColorIndexRgba<<16
QGL::NoAlphaChannelAlphaChannel<<16
QGL::NoAccumBufferAccumBuffer<<16
QGL::NoStencilBufferStencilBuffer<<16
QGL::NoStereoBuffersStereoBuffers<<16
QGL::IndirectRenderingDirectRendering<<16
QGL::NoOverlayHasOverlay<<16
QGL::NoSampleBuffersSampleBuffers<<16

The FormatOptions type is a typedef for QFlags<FormatOption>. It stores an OR combination of FormatOption values.

See also Sample Buffers Example.


Copyright © 2007 Trolltech Trademarks
Qt 4.2.3