of_adddatafilepath Subroutine

public subroutine of_adddatafilepath(newpath)

Add a search path when OSG tries to load data files.

These can be images, models, or any other data files. This does not affect loading OSG libraries or plugins. The new path is added to the FRONT of the path search list, and will be searched before any existing paths (including previous calls to of_adddatafilepath.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: newpath

full path to be searched when loading a file.