Defined in carb/assets/AssetsTypes.h

using carb::assets::HashLoadParametersFn = uint64_t (*)(const LoadParameters *loadParameters)

Loader function (member of LoaderDesc) that hashes a LoadParameters structure.


This function is required for any types where a LoadParameters derivative may be passed to IAssets::loadAsset().


Be aware of struct padding when hashing the load parameter data. Passing an entire parameter struct into a hash function may result in padding being hashed, which will cause undefined behavior.

Param loadParameters

The load parameters to hash.


The hashed value of the load parameters structure.