File resource_reference.h

Parent directory (portal/engine/resources)

Smart handle for asynchronously-loaded resources.

Detailed Description

This file defines ResourceReference<T>, the primary user-facing API for working with resources in the Portal Framework. Unlike Reference<T> (which is std::shared_ptr<T>), ResourceReference provides asynchronous loading semantics with state tracking.

See also

ResourceRegistry for loading resources

See also

ResourceState for the state machine

See also

Reference for the underlying shared pointer type

Definition (portal/engine/resources/resource_reference.h)

Includes

Included By

Namespaces

Classes