Click or drag to resize
SoGLCacheContextElementShouldAutoCache Method (SoState, SoGLCacheContextElementAutoCacheModes)

Note: This API is now obsolete.

Called by nodes to say that they should/shouldn't be auto-cached (pass true if should, false if shouldn't, don't call this method at all if the node doesn't care):

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public static void ShouldAutoCache(
	SoState state,
	SoGLCacheContextElementAutoCacheModes mode
)

Parameters

state
Type: OIV.Inventor.MiscSoState
mode
Type: OIV.Inventor.ElementsSoGLCacheContextElementAutoCacheModes
Remarks

Obsoletesince Open Inventor 9620 Use SoGLRenderAction.shouldAutoCache(AutoCacheMode mode) instead.

See Also