Click or drag to resize
SoGLFormatSetCompositionRequired Method

Sets the composition requirement of the pixel format.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2024.1.2.0 (2024.1.2)
Syntax
public void SetCompositionRequired(
	bool required
)

Parameters

required
Type: SystemBoolean
Remarks

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).

See Also