#include <Inventor/components/SoGraphicConfigCompare.h>
Go to the source code of this file.
Functions | |
virtual SbBool | operator() (SoGraphicConfig *const &gc1, SoGraphicConfig *const &gc2) const |
Defines an OpenGL graphics compare object used to compare two SoGLGraphicConfig objects according to an SoGLGraphicConfigTemplate object. | |
|
virtual |
Defines an OpenGL graphics compare object used to compare two SoGLGraphicConfig objects according to an SoGLGraphicConfigTemplate object.
This class allows the comparison of two graphic configurations. To sort the list of its supported graphic configurations, a graphics device needs a predicate object of type SoGraphicConfigCompare class or derived from this class. It takes the graphics template in parameter to define the right order. This order should be absolute (non ambiguous). SoGLGraphicDevice class uses SoGLGraphicConfigCompare to internally compare SoGLGraphicConfig objects by default.
SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfigCompare, SoGLGraphicConfigCompare, SoGraphicConfig, SoGraphicDevice, SoGLGraphicDevice.