WIP.
More...
#include <PlatformUtils.h>
◆ GetAbsolutePath()
| std::string Muto::FileSystem::GetAbsolutePath |
( |
const std::string & |
relativePath | ) |
|
|
static |
39 {
40 return std::filesystem::absolute(
relativePath).lexically_normal().string();
41 }
constexpr Scope< T > CreateScope(Args &&... args)
Creates a Scope (unique_ptr) for the given type and constructor arguments.
Definition Defines_Macros.h:51
Referenced by Muto::EditorLayer::OnAttach().
◆ GetCurrentWorkingDirectory()
| std::string Muto::FileSystem::GetCurrentWorkingDirectory |
( |
| ) |
|
|
static |
◆ GetTravelingUpPath()
| std::string Muto::FileSystem::GetTravelingUpPath |
( |
const std::string & |
path | ) |
|
|
static |
44 {
45 return std::filesystem::path(
path).parent_path().string();
46 }
◆ Initialize()
| void Muto::FileSystem::Initialize |
( |
| ) |
|
|
static |
◆ IsInitialized()
◆ m_AssetsDirectory
| std::string Muto::FileSystem::m_AssetsDirectory = "" |
|
static |
◆ m_CurrentProjectDirectory
| std::string Muto::FileSystem::m_CurrentProjectDirectory = "" |
|
static |
◆ m_Initialized
◆ m_ProjectsDirectory
| std::string Muto::FileSystem::m_ProjectsDirectory = "" |
|
static |
◆ m_ResourcesDirectory
| std::string Muto::FileSystem::m_ResourcesDirectory = "" |
|
static |
◆ m_RootEditorDirectory
| std::string Muto::FileSystem::m_RootEditorDirectory = "" |
|
static |
◆ m_RootEngineDirectory
| std::string Muto::FileSystem::m_RootEngineDirectory = "" |
|
static |
The documentation for this class was generated from the following files: