Click or drag to resize
SoGLContextSharedGroupPolicies Enumeration

Sharing Policy.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public enum SharedGroupPolicies
Members
  Member nameValueDescription
DISABLED0

Disables context sharing (same behavior as v2.6 and older)

CONSERVATIVE1

Conservative sharing (not available on Unix) Only add context to a share group containing contexts with the constraint (ex: same pixel format for OIV.Inventor.Devices.SoGLContext objects).

This mode matchs the official behavior of the wglShareLists() function. (Please refer to Microsoft documentation for more details.)

AGGRESSIVE2

Aggressive sharing (default) Tries to share contexts, independent of their sharing constraint.

When sharing succeeds, shared contexts are part of the same sharedGroup, else, a new sharedGroup is created.

Remarks

User can change sharing policy by defining the OIV_SHARE_LISTS environment variable.

See Also