esp/assets/Asset.h file

Namespaces

namespace esp
Root namespace.
namespace esp::assets
Assets library.

Classes

struct esp::assets::PhongMaterialColor
stores basic Phong compatible color properties for procedural override material construction
struct esp::assets::AssetInfo
AssetInfo stores information necessary to identify and load an Asset.
template<typename T>
struct esp::assets::Asset
Wrapper for all valid asset types.

Enums

enum class AssetType { UNKNOWN, MP3D_MESH, INSTANCE_MESH, UNKNOWN2, NAVMESH, PRIMITIVE }
Supported Asset types.

Functions

auto operator==(const PhongMaterialColor& a, const PhongMaterialColor& b) -> bool
Verify PhongMaterialColor equality.
auto operator!=(const PhongMaterialColor& a, const PhongMaterialColor& b) -> bool
Verify PhongMaterialColor inequality.
auto operator==(const AssetInfo& a, const AssetInfo& b) -> bool
Verify AssetInfo equality.
auto operator!=(const AssetInfo& a, const AssetInfo& b) -> bool
Verify AssetInfo equality.

Variables

char EMPTY_SCENE constexpr
loading an asset info with filepath == EMPTY_SCENE creates a scene graph with no scene mesh (ie. an empty scene)