#include <PathResolver.h>
|
| static std::string | Resolve (const std::string &virtualPath) |
| |
Definition at line 7 of file PathResolver.h.
◆ Resolve()
| std::string Elevate::PathResolver::Resolve |
( |
const std::string & |
virtualPath | ) |
|
|
static |
Definition at line 6 of file PathResolver.cpp.
7{
8 if (virtualPath.starts_with("engine://"))
9 {
11 }
12 else if (virtualPath.starts_with("editor://"))
13 {
14#ifndef EE_EDITOR_BUILD
15 EE_CORE_ERROR("You cannot use editor:// path while building without the editor.");
16 return virtualPath;
17#else
19#endif
20 }
21 else if (virtualPath.starts_with("content://"))
22 {
24 }
25 return virtualPath;
26}
The documentation for this class was generated from the following files: