MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / GetModulePath

Function GetModulePath

Apps/ValidationTests/Win32/App.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace
43{
44 std::filesystem::path GetModulePath()
45 {
46 char buffer[1024];
47 ::GetModuleFileNameA(nullptr, buffer, ARRAYSIZE(buffer));
48 return std::filesystem::path{ buffer };
49 }
50
51 std::string GetUrlFromPath(const std::filesystem::path& path)
52 {

Callers 1

InitializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected