Abstract base class for graphics configuration template classes. More...
#include <Inventor/components/SoGraphicConfigTemplate.h>
Public Types | |
enum | Preference { REQUIRED = INT_MAX, PREFERRED = 16, FORBIDDEN = 0 } |
Public Member Functions | |
SoGraphicConfigTemplate () | |
virtual | ~SoGraphicConfigTemplate () |
virtual SbBool | isGraphicsConfigSupported (SoGraphicConfig &graphicConfig) const =0 |
This abstract class allows you to specify a set of graphics preferences. It can be used to choose a particular configuration of a graphics device. A graphics configuration matches this template only if
SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfig, SoGLGraphicConfig, SoGLGraphicDevice.
SoGraphicConfigTemplate::SoGraphicConfigTemplate | ( | ) |
Constructor.
virtual SoGraphicConfigTemplate::~SoGraphicConfigTemplate | ( | ) | [inline, virtual] |
Destructor.
virtual SbBool SoGraphicConfigTemplate::isGraphicsConfigSupported | ( | SoGraphicConfig & | graphicConfig | ) | const [pure virtual] |
Indicates if the graphics configuration graphicConfig fits this template.
Returns TRUE if all REQUIRED fields in the template are active in graphicConfig and if all FORBIDDEN fields in the template are inactive in graphicConfig.
Implemented in SoGLGraphicConfigTemplate.