|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Centralized accessors for project and asset paths. More...
#include <Path.h>
Static Public Member Functions | |
| static std::string | getEngineRoot () |
| Gets the engine root directory at runtime. | |
| static constexpr std::string | getProjectRoot () |
| Gets the root location of the whole game. This is. | |
| static constexpr auto | engineGeometry () |
| Path to engine geometry assets. | |
| static constexpr auto | gameGeometry () |
| Path to game geometry assets. | |
| static constexpr auto | gameAudio () |
| Path to game Audio assets. | |
| static constexpr auto | gameTextures () |
| Path to game texture assets. | |
| static constexpr auto | engineShaders () |
| Path to engine shaders. | |
| static constexpr auto | engineTextures () |
| Path to engine textures. | |
| static constexpr auto | engineFonts () |
| Path to font assets. | |
| static constexpr auto | engineSounds () |
| Path to engine audio files. | |
| static bool | doesFileExist (const std::filesystem::path &path) |
| Checks if a file at a filepath exists. | |
| static bool | doesGltfFileExist (const std::filesystem::path &path) |
| Checks if the specified filepath exists at the given path and is a gltf file. | |
| static bool | doesExrFileExist (const std::filesystem::path &path) |
| Checks if the specified filepath exists at the given path and if the file is an exr file. | |
| static bool | doesFileOfTypeExist (const std::filesystem::path &path, const std::string &extension) |
| Checks if the specified filepath exists and if the file at the path is of a file type. | |
|
static |
Checks if the specified filepath exists at the given path and if the file is an exr file.
| path | filepath to check |
|
static |
Checks if a file at a filepath exists.
| path | filepath to check |
|
static |
Checks if the specified filepath exists and if the file at the path is of a file type.
| path | filepath to check |
| extension | filetype extension like ".exr" |
|
static |
Checks if the specified filepath exists at the given path and is a gltf file.
| path | filepath to check |
|
inlinestaticconstexpr |
Path to font assets.
Definition at line 243 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to engine geometry assets.
Definition at line 191 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to engine shaders.
Definition at line 227 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to engine audio files.
Definition at line 252 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to engine textures.
Definition at line 235 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to game Audio assets.
Definition at line 209 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to game geometry assets.
Definition at line 200 of file Path.h.
References Engine::Core::ConstexprPath().
|
inlinestaticconstexpr |
Path to game texture assets.
Definition at line 218 of file Path.h.
References Engine::Core::ConstexprPath().
|
static |
Gets the engine root directory at runtime.
|
staticconstexpr |
Gets the root location of the whole game. This is.