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: 9.9.13.0 (9.9.13.0)
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 setCompositionRequired() and setGDISupportRequired() 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 SoPreferences).

See Also