|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Unsigned numerical identifier of an asset, paired with a template type. More...
#include <AssetID.hpp>
Public Types | |
| using | Type = T |
| Type of the asset associated with this AssetID. | |
Public Member Functions | |
| AssetID () | |
| Constructs an AssetID with an null identifier. | |
| AssetID (unsigned id) | |
| Constructs an AssetID with the specified identifier. | |
| operator unsigned () const noexcept | |
| Gets the underlying unsigned identifier of the asset. | |
Public Attributes | |
| unsigned | ID |
| Underlying unsigned identifier of the asset. | |
Unsigned numerical identifier of an asset, paired with a template type.
| T | T must be a AssetType - must inherit IAsset and be constructible from a factory class and a path. |
| using Engine3DRadSpace.Content::AssetID< T >::Type = T |
Type of the asset associated with this AssetID.
|
inline |
Constructs an AssetID with an null identifier.
|
inline |
Constructs an AssetID with the specified identifier.
| id | Identifier of the asset. |
|
inlinenoexcept |
Gets the underlying unsigned identifier of the asset.
| unsigned Engine3DRadSpace.Content::AssetID< T >::ID |
Underlying unsigned identifier of the asset.