← API Reference Struct

template<typename C> asge::game::asset::AssetRefs

Customization point CollectAssetRefs dispatches to, per component type, to report which virtual path (if any) one component instance references, without resolving it — Resolver<T>'s read-only sibling.

#include <AssetResolver.hpp>

The primary template reports nothing, same as Resolver<T>'s no-op default. Every current asset-owning component has at most one path field, so this returns std::optional<AssetRef> rather than a collection.

Public Member Functions

#std::optional< AssetRef > operator()(C const &) const noexcept