SoExtTexture2PrequalifyFileCallback Property |
This callback is called by OIV.Inventor.Nodes.SoExtTexture2 nodes just before opening a file with the proposed path.
Namespace: OIV.Inventor.Nodes
It allows you to modify the path and/or indicate that the texture has already been handled.
You could use the callback, for example, to load an image in a file format that Open Inventor doesn't natively support. The callback 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.