Unravel Engine C++ Reference
Loading...
Searching...
No Matches
asset_link< T >::state_t Struct Reference

Immutable snapshot of the link's logical state. More...

#include <asset_handle.h>

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 (valid for both scheduled and deferred jobs).
 

Detailed Description

template<typename T>
struct asset_link< T >::state_t

Immutable snapshot of the link's logical state.

New snapshots are published via state.store(...). Once published, state_t instances are read-only and safe to share between threads without further synchronization.

Definition at line 104 of file asset_handle.h.

Member Data Documentation

◆ id

template<typename T >
std::string asset_link< T >::state_t::id

String identifier for the asset.

Definition at line 109 of file asset_handle.h.

◆ task

template<typename T >
task_future_t asset_link< T >::state_t::task

Task future for the asset (valid for both scheduled and deferred jobs).

Definition at line 111 of file asset_handle.h.

◆ uid

template<typename T >
hpp::uuid asset_link< T >::state_t::uid

Unique identifier for the asset.

Definition at line 107 of file asset_handle.h.


The documentation for this struct was generated from the following file: