carb::assets::getAssetType¶
Defined in carb/assets/AssetsTypes.h
-
template<typename
T
>
Typecarb::assets
::
getAssetType
()¶ Defines a template for users to specialize their asset type as unique identifiers.
The CARB_ASSET macro specializes this function for registered asset types.
Example:
CARB_ASSET(carb::imaging::Image, 1, 0)
- See