Click or drag to resize
SoGLRenderActionSetInvalidateCacheMode Method

Enables or disables the invalidation of render caches.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void SetInvalidateCacheMode(
	SoGLRenderActionInvalidateCacheModes icm
)

Parameters

icm
Type: OIV.Inventor.ActionsSoGLRenderActionInvalidateCacheModes
Remarks

  • When set to ALWAYS, the caches are invalidated for each OIV.Inventor.Nodes.SoSeparator node before its children are traversed. No new caches will be built. This value forces all nodes to be visited during each render traversal.

  • When set to ONCE, the caches are invalidated for each OIV.Inventor.Nodes.SoSeparator node before its children are traversed. The invalidate cache mode is automatically changed to OFF at the end of the traversal.

  • When set to OFF (default), caches are managed by their respective render caching nodes in the usual way.

This method is useful to force all nodes to be visited during render traversal.

See Also