SoGLContextSharedGroupPolicies Enumeration |
Sharing Policy.
Namespace: OIV.Inventor.Devices
Member name | Value | Description | |
---|---|---|---|
DISABLED | 0 | Disables context sharing (same behavior as v2.6 and older) | |
CONSERVATIVE | 1 | 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.) | |
AGGRESSIVE | 2 | 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. |
User can change sharing policy by defining the OIV_SHARE_LISTS environment variable.