12#include "VEX/VEX_export.h"
18 void VEX_EXPORT
SetAssetRoot(
const std::string& projectPath);
39 std::string VEX_EXPORT
GetAssetPath(
const std::string& relativePath);
44 std::string VEX_EXPORT
GetUserDataPath(
const std::string& relativePath);
58 std::filesystem::path VEX_EXPORT
GetLogDir();
std::string VEX_EXPORT GetAssetDir()
Gets the current asset directory override.
std::filesystem::path VEX_EXPORT GetExecutableDir()
Retrieves the directory containing the current executable.
void VEX_EXPORT SetAssetRoot(const std::string &projectPath)
Overrides the default asset root directory.
std::filesystem::path VEX_EXPORT GetLogDir()
Gets the directory where logs and crash dumps are stored.
std::string VEX_EXPORT GetAssetPath(const std::string &relativePath)
Resolves the absolute path of an asset based on the current build configuration.
std::string VEX_EXPORT GetUserDataDir()
Gets the current user data directory.
void VEX_EXPORT SetUserDataDir(const std::string &userDataDir)
Sets the current user data directory.
std::string VEX_EXPORT GetUserDataPath(const std::string &relativePath)
Resolves the absolute path of a user data file based on the current user data directory.