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 } |
Priority requirement. More... | |
Public Member Functions | |
SoGraphicConfigTemplate () | |
Constructor. | |
virtual | ~SoGraphicConfigTemplate () |
Destructor. | |
virtual SbBool | isGraphicsConfigSupported (SoGraphicConfig &graphicConfig) const =0 |
Indicates if the graphics configuration graphicConfig fits this template. | |
Abstract base class for graphics configuration template classes.
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.
Definition at line 47 of file SoGraphicConfigTemplate.h.
Priority requirement.
Definition at line 65 of file SoGraphicConfigTemplate.h.
SoGraphicConfigTemplate::SoGraphicConfigTemplate | ( | ) |
Constructor.
|
inlinevirtual |
Destructor.
Definition at line 60 of file SoGraphicConfigTemplate.h.
|
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.