Click or drag to resize
SoExtTexture2SetPrequalifyFileCallback Method (SoExtTexture2PrequalifyFileCB)

Note: This API is now obsolete.

Use PrequalifyFileCallback property instead. This delegate is called by SoExtTexture2 nodes just before opening a file with the proposed path. It allows you to modify the path and/or indicate that the texture has already been handled.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Use PrequalifyFileCallback property instead.")]
public static void SetPrequalifyFileCallback(
	SoExtTexture2PrequalifyFileCB cb
)

Parameters

cb
Type: OIV.Inventor.NodesSoExtTexture2PrequalifyFileCB
Remarks

You could use the delegate, for example, to load an image in a file format that Open Inventor doesn't natively support. The delegate could - detect (by examining the path) that the file is of a particular format, - call application-supplied code to read the texture file - set the image into the #image field of the texture node - set the flag indicating that the texture has been handled.

See Also