Unravel Engine C++ Reference
|
Represents a link to an asset, including its task and weak pointer. More...
#include <asset_handle.h>
Public Types | |
using | task_future_t = task_future<std::shared_ptr<T>> |
using | weak_asset_t = std::weak_ptr<T> |
Public Attributes | |
hpp::uuid | uid {} |
Unique identifier for the asset. | |
std::string | id {} |
String identifier for the asset. | |
task_future_t | task {} |
Task future for the asset. | |
weak_asset_t | weak_asset {} |
Weak pointer to the asset. | |
Represents a link to an asset, including its task and weak pointer.
T | The type of the asset. |
Definition at line 21 of file asset_handle.h.
using asset_link< T >::task_future_t = task_future<std::shared_ptr<T>> |
Definition at line 23 of file asset_handle.h.
using asset_link< T >::weak_asset_t = std::weak_ptr<T> |
Definition at line 24 of file asset_handle.h.
std::string asset_link< T >::id {} |
String identifier for the asset.
Definition at line 29 of file asset_handle.h.
task_future_t asset_link< T >::task {} |
Task future for the asset.
Definition at line 31 of file asset_handle.h.
hpp::uuid asset_link< T >::uid {} |
Unique identifier for the asset.
Definition at line 27 of file asset_handle.h.
weak_asset_t asset_link< T >::weak_asset {} |
Weak pointer to the asset.
Definition at line 33 of file asset_handle.h.