Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoGraphicConfigCompare.h File Reference

Go to the source code of this file.

Functions

virtual SbBool operator() (SoGraphicConfig *const &gc1, SoGraphicConfig *const &gc2) const =0
  VSG extension Defines an graphics compare object used to compare two SoGraphicConfig objects according to an SoGraphicConfigTemplate object.
 

Variables

const SoGraphicConfigTemplatem_predicateTemplate
 

Function Documentation

◆ operator()()

virtual SbBool operator() ( SoGraphicConfig *const &  gc1,
SoGraphicConfig *const &  gc2 
) const
pure virtual

VSG extension Defines an graphics compare object used to compare two SoGraphicConfig objects according to an SoGraphicConfigTemplate object.

This class allows the comparison of two graphics configurations. To sort the list of its supported graphics configurations, a graphics device need a predicate object which type is SoGraphicConfigCompare class or derived from. It takes the graphics template in parameter to define the right order. This order should be absolute (non ambiguous).

SEE ALSO

SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfigCompare, SoGLGraphicConfigCompare, SoGraphicConfig, SoGraphicDevice, SoGLGraphicDevice.

Variable Documentation

◆ m_predicateTemplate

const SoGraphicConfigTemplate* m_predicateTemplate

Definition at line 59 of file SoGraphicConfigCompare.h.