|
Toast Engine
|
Reflection accessor for assets::Handle<T> members. More...
#include <any>#include <toast/assets/assets.hpp>#include <toast/reflect/reflect.hpp>#include <toast/uid.hpp>#include <vector>

Go to the source code of this file.
Classes | |
| struct | toast::AssetFieldAccess< Class, Handle, Tag > |
| struct | toast::AssetArrayFieldAccess< Class, Vector, Tag > |
| Reflection accessor for a std::vector of assets::Handle<T> members. More... | |
Reflection accessor for assets::Handle<T> members.
get() returns the handle's UID and set() resolves a handle from the UID via assets::load(), if it fails the handle will have a nnullptr but it will still have the UID
TOAST_API