#include <array>
#include <string>
#include <filesystem>
#include <ostream>
#include <string_view>
#include "Engine/Files/AssetPath.h"
#include "Engine/Files/GeneratedAssetManifest.h"
Go to the source code of this file.
|
| namespace | Engine |
| namespace | Engine::Core |
| | Manages IBL (Image-Based Lighting) resources for specular reflections.
|
|
| #define | CREATE_ASSET_PATH(assetPath) |
| | creates an asset path with verification that it exists at the specified location on disk
|
| #define | CREATE_MESH_ASSET_PATH(assetPath, objectName) |
| | Creates an asset path with verification that the file exists. Points to a specific mesh inside a gltf file.
|
◆ CREATE_ASSET_PATH
| #define CREATE_ASSET_PATH |
( |
| assetPath | ) |
|
Value: [] \
{ \
constexpr auto verifiedAssetPath = ( assetPath ); \
static_assert( \
"Asset path is not present in GeneratedAssetManifest" \
); \
return verifiedAssetPath; \
}()
consteval bool assetExists(const ConstexprPath< N > &path)
creates an asset path with verification that it exists at the specified location on disk
- Parameters
-
Definition at line 217 of file Path.h.
◆ CREATE_MESH_ASSET_PATH
| #define CREATE_MESH_ASSET_PATH |
( |
| assetPath, |
|
|
| objectName ) |
Value: [] \
{ \
return meshAsset; \
}()
#define CREATE_ASSET_PATH(assetPath)
creates an asset path with verification that it exists at the specified location on disk
Identifies a named mesh-like asset inside an asset file.
Creates an asset path with verification that the file exists. Points to a specific mesh inside a gltf file.
- Parameters
-
| assetPath | path to verify |
| objectName | name of the mesh inside the gltf file |
Definition at line 234 of file Path.h.