SoSceneManagerSetShareContext Method (SbGLShareContext, Boolean) |
Sets the OpenGL context to be shared by the scene manager.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void SetShareContext(
SbGLShareContext sc,
bool issc
)
Public Sub SetShareContext (
sc As SbGLShareContext,
issc As Boolean
)
public:
void SetShareContext(
SbGLShareContext sc,
bool issc
)
member SetShareContext :
sc : SbGLShareContext *
issc : bool -> unit
Parameters
- sc
- Type: OIV.InventorSbGLShareContext
- issc
- Type: SystemBoolean
Remarks This avoids the necessity to re-generate textures and display lists if they are already available in another OpenGL context (another viewer context, for instance).
See Also