Click or drag to resize
SoGLContext Constructor (Boolean)

Constructor which creates an OIV.Inventor.Devices.SoGLContext based on the attributes of the current context.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoGLContext(
	bool shared
)

Parameters

shared
Type: SystemBoolean

Indicates if we want to share the context. If true, context is shared with current context, depending on the currently defined SharedGroupPolicy. If false, context is explicitly not shared.

Remarks

If the current context is NULL, the function tries to create a context on a temporary window. If this doesn't work, the resulting OIV.Inventor.Devices.SoGLContext will not be valid!

See Also