Click or drag to resize
SoDBSetRenderCacheMode Method

This method specifies the way render caches (display lists) will be created.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public static void SetRenderCacheMode(
	SoDBRenderCacheModes mode
)

Parameters

mode
Type: OIV.InventorSoDBRenderCacheModes
Remarks

By default, under each separator node, GL commands are merely compiled and executed when the display list is created (mode = COMPILE). This can increase performances on some graphics board. With this method you can ask OIV to execute GL commands as they are compiled into the display list (mode = COMPILE_AND_EXECUTE). You can also use the AUTO_RENDER_CACHE to allow Open Inventor to detect the best mode.

See Also