QPlatformWindowFormat Class Reference
#include <qplatformwindowformat_qpa.h>
Definition at line 54 of file qplatformwindowformat_qpa.h.
|
enum | FormatOption {
DoubleBuffer = 0x0001,
DepthBuffer = 0x0002,
Rgba = 0x0004,
AlphaChannel = 0x0008,
AccumBuffer = 0x0010,
StencilBuffer = 0x0020,
StereoBuffers = 0x0040,
DirectRendering = 0x0080,
HasOverlay = 0x0100,
SampleBuffers = 0x0200,
DeprecatedFunctions = 0x0400,
HasWindowSurface = 0x0800,
SingleBuffer = DoubleBuffer << 16,
NoDepthBuffer = DepthBuffer << 16,
ColorIndex = Rgba << 16,
NoAlphaChannel = AlphaChannel << 16,
NoAccumBuffer = AccumBuffer << 16,
NoStencilBuffer = StencilBuffer << 16,
NoStereoBuffers = StereoBuffers << 16,
IndirectRendering = DirectRendering << 16,
NoOverlay = HasOverlay << 16,
NoSampleBuffers = SampleBuffers << 16,
NoDeprecatedFunctions = DeprecatedFunctions << 16,
NoWindowSurface = HasWindowSurface << 16
} |
|
enum | WindowApi { Raster,
OpenGL,
OpenVG
} |
|
Enumerator |
---|
DoubleBuffer |
|
DepthBuffer |
|
Rgba |
|
AlphaChannel |
|
AccumBuffer |
|
StencilBuffer |
|
StereoBuffers |
|
DirectRendering |
|
HasOverlay |
|
SampleBuffers |
|
DeprecatedFunctions |
|
HasWindowSurface |
|
SingleBuffer |
|
NoDepthBuffer |
|
ColorIndex |
|
NoAlphaChannel |
|
NoAccumBuffer |
|
NoStencilBuffer |
|
NoStereoBuffers |
|
IndirectRendering |
|
NoOverlay |
|
NoSampleBuffers |
|
NoDeprecatedFunctions |
|
NoWindowSurface |
|
Definition at line 57 of file qplatformwindowformat_qpa.h.
void setDepthBufferSize |
( |
int |
size | ) |
|
int depthBufferSize |
( |
| ) |
const |
void setAccumBufferSize |
( |
int |
size | ) |
|
int accumBufferSize |
( |
| ) |
const |
int redBufferSize |
( |
| ) |
const |
void setGreenBufferSize |
( |
int |
size | ) |
|
int greenBufferSize |
( |
| ) |
const |
int blueBufferSize |
( |
| ) |
const |
void setAlphaBufferSize |
( |
int |
size | ) |
|
int alphaBufferSize |
( |
| ) |
const |
void setStencilBufferSize |
( |
int |
size | ) |
|
int stencilBufferSize |
( |
| ) |
const |
void setSampleBuffers |
( |
bool |
enable | ) |
|
bool sampleBuffers |
( |
| ) |
const |
|
inline |
void setSwapInterval |
( |
int |
interval | ) |
|
int swapInterval |
( |
| ) |
const |
bool doubleBuffer |
( |
| ) |
const |
|
inline |
void setDoubleBuffer |
( |
bool |
enable | ) |
|
void setDepth |
( |
bool |
enable | ) |
|
void setRgba |
( |
bool |
enable | ) |
|
void setAlpha |
( |
bool |
enable | ) |
|
void setAccum |
( |
bool |
enable | ) |
|
void setStencil |
( |
bool |
enable | ) |
|
void setStereo |
( |
bool |
enable | ) |
|
bool directRendering |
( |
| ) |
const |
|
inline |
void setDirectRendering |
( |
bool |
enable | ) |
|
bool hasWindowSurface |
( |
| ) |
const |
|
inline |
void setWindowSurface |
( |
bool |
enable | ) |
|
void setOption |
( |
QPlatformWindowFormat::FormatOptions |
opt | ) |
|
bool testOption |
( |
QPlatformWindowFormat::FormatOptions |
opt | ) |
const |
The documentation for this class was generated from the following file: