Click or drag to resize
SoWinRenderArea.SetInvalidateCacheMode Method

Enables or disables the invalidation of render caches.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetInvalidateCacheMode(
	SoGLRenderAction. InvalidateCacheModes icm
)

Parameters

icm
Type: OIV.Inventor.Actions.SoGLRenderAction.InvalidateCacheModes
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