Click or drag to resize
SoWinRenderAreaSetInvalidateCacheMode Method

Enables or disables the invalidation of render caches.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
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