Description
MinSG ‘s data directory.
MinSG ‘s data directory contains data files required by some parts of MinSG (e.g., shader files).
Functions
std::string | getPath() |
Documentation
function
MinSG::DataDirectory::getPath
public |
std::string getPath( | ) |
Return the path of the data directory. It is first searched with the help of the environment variable MINSG_DATA_DIR, then by using a path relative to the running executable, and at last by checking the preprocessor define MINSG_DATA_DIR, if set.
Returns
Absolute path to the data directory
Defined in MinSG/Helper/DataDirectory.h:34