Luna::Asset::get_asset_data

ObjRef get_asset_data(asset_t asset)

Gets the asset data object.

Parameters

  • in asset

    The asset handle of the asset to query.

Return value

Returns the asset data, or nullptr if the asset data is not loaded or loading.