Click or drag to resize
SoGLRenderActionSetCacheContext Method

Sets the OpenGL cache context.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetCacheContext(
	uint context
)

Parameters

context
Type: SystemUInt32
Remarks

A cache context is just an integer identifying when OpenGL display lists (which are used for render caching) can be shared between render actions; for example, see the documentation on GLX contexts for information on when OpenGL display lists can be shared between GLX windows. See OIV.Inventor.Actions.SoGLRenderAction.GenerateCacheContext(). Note: The value 0xFFFFFFFF (~0) is reserved to represent an undefined id.

See Also