Represents an OpenGL graphics configuration for Microsoft Windows systems.
More...
#include <Inventor/components/SoWinGLGraphicConfig.h>
Public Member Functions | |
| virtual SbBool | isDoubleBuffer () const |
| virtual SbBool | isStereoBuffer () const |
| virtual SbBool | isAccelerated () const |
| virtual void | getDepth (int &bits) const |
| virtual void | getRGBAColor (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const |
| virtual void | getFloatRGBAColor (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const |
| virtual void | getAccum (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const |
| virtual void | getStencil (int &bits) const |
| virtual SbBool | getFullSceneAntialiasing (int &bits) const |
| virtual int | getPixelFormat () const |
| virtual const PIXELFORMATDESCRIPTOR * | getPixelFormatDescriptor () const |
Represents an OpenGL graphics configuration for Microsoft Windows systems.
This class is a representation of a Microsoft Windows pixel format. Compared to its parent class, this class adds a method to query the system-dependent pixel format information.
SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfig, SoGraphicDevice, SoGLGraphicDevice, SoFullSceneAntialiasing.
| virtual void SoWinGLGraphicConfig::getAccum | ( | int & | redBits, | |
| int & | greenBits, | |||
| int & | blueBits, | |||
| int & | alphaBits | |||
| ) | const [virtual] |
Returns the accumulation buffer depth (red, green, blue, and alpha).
If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration has no accumulation buffer.
Implements SoGLGraphicConfig.
| virtual void SoWinGLGraphicConfig::getDepth | ( | int & | bits | ) | const [virtual] |
Returns the Z-buffer depth.
If 0 is returned, then there is no Z-buffer.
Implements SoGLGraphicConfig.
| virtual void SoWinGLGraphicConfig::getFloatRGBAColor | ( | int & | redBits, | |
| int & | greenBits, | |||
| int & | blueBits, | |||
| int & | alphaBits | |||
| ) | const [virtual] |
Returns the floating point color depth (red, green, blue, and alpha).
If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration does not support floating point RGBA mode.
Implements SoGLGraphicConfig.
| virtual SbBool SoWinGLGraphicConfig::getFullSceneAntialiasing | ( | int & | bits | ) | const [virtual] |
Returns the availability of the hardware full-scene antialiasing feature.
| bits | returns the number of samples used in the antialiasing algorithm. |
Implements SoGLGraphicConfig.
| virtual int SoWinGLGraphicConfig::getPixelFormat | ( | ) | const [virtual] |
Returns the pixel format identifier.
| virtual const PIXELFORMATDESCRIPTOR* SoWinGLGraphicConfig::getPixelFormatDescriptor | ( | ) | const [virtual] |
Returns the pixel format descriptor.
| virtual void SoWinGLGraphicConfig::getRGBAColor | ( | int & | redBits, | |
| int & | greenBits, | |||
| int & | blueBits, | |||
| int & | alphaBits | |||
| ) | const [virtual] |
Returns the color depth (red, green, blue, and alpha).
If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration does not support RGBA mode.
Implements SoGLGraphicConfig.
| virtual void SoWinGLGraphicConfig::getStencil | ( | int & | bits | ) | const [virtual] |
Returns the stencil buffer depth.
If 0 is returned, then the OpenGL graphics configuration has no stencil buffer.
Implements SoGLGraphicConfig.
| virtual SbBool SoWinGLGraphicConfig::isAccelerated | ( | ) | const [virtual] |
Returns TRUE if the OpenGL graphics configuration is accelerated.
Implements SoGLGraphicConfig.
| virtual SbBool SoWinGLGraphicConfig::isDoubleBuffer | ( | ) | const [virtual] |
Returns TRUE if double buffer mode is enabled, else FALSE (single buffer mode).
Implements SoGLGraphicConfig.
| virtual SbBool SoWinGLGraphicConfig::isStereoBuffer | ( | ) | const [virtual] |
Returns TRUE if stereo buffer mode is supported.
Implements SoGLGraphicConfig.