Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Path.h File Reference
#include <array>
#include <string>
#include <filesystem>
#include <ostream>
#include <string_view>
#include "Engine/Files/GeneratedAssetManifest.h"
Include dependency graph for Path.h:

Go to the source code of this file.

Classes

class  Engine::Core::ConstexprPath< N >
class  Engine::Core::Path

Namespaces

namespace  Engine
namespace  Engine::Core
 Core audio subsystem owning the miniaudio engine and managing playback.

Macros

#define CREATE_ASSET_PATH(assetPath)

Functions

template<size_t N>
 Engine::Core::ConstexprPath (const char(&)[N]) -> ConstexprPath< N >
template<size_t N>
std::ostream & Engine::Core::operator<< (std::ostream &stream, const ConstexprPath< N > &path)
template<size_t N>
consteval bool Engine::Core::assetExists (const ConstexprPath< N > &path)

Macro Definition Documentation

◆ CREATE_ASSET_PATH

#define CREATE_ASSET_PATH ( assetPath)
Value:
[] { \
constexpr auto verifiedAssetPath = (assetPath); \
static_assert(::Engine::Core::assetExists(verifiedAssetPath), \
"Asset path is not present in GeneratedAssetManifest"); \
return verifiedAssetPath; \
}()
consteval bool assetExists(const ConstexprPath< N > &path)
Definition Path.h:96

Definition at line 153 of file Path.h.