SoGLFormatSetCompositionRequired Method |
Sets the composition requirement of the pixel format.
Namespace: OIV.Inventor.Devices
This requirement is ignored on non-Microsoft platforms and on Windows platforms before Windows Vista. Requiring composition will automatically disable GDI support for this format (this is a Microsoft limitation).
Note: If both OIV.Inventor.Devices.SoGLFormat.SetCompositionRequired(System.Boolean) and OIV.Inventor.Devices.SoGLFormat.SetGDISupportRequired(System.Boolean) are set OpenInventor will try to choose a pixel format with composition support.
The default value is false but can be overridden using the OIV_PFD_SUPPORT_COMPOSITION preference (see OIV.Inventor.SoPreferences).