NvBlastAssetGetFamilyMemorySize

Defined in lowlevel/NvBlast.h

size_t NvBlastAssetGetFamilyMemorySize(const NvBlastAsset *asset, NvBlastLog logFn)

Calculates the memory requirements for a family based upon an asset.

Use this function when building a family with NvBlastAssetCreateFamily.

Parameters
  • asset[in] Asset used to build the family (see NvBlastAsset).

  • logFn[in] User-supplied message function (see NvBlastLog definition). May be NULL.

Returns

the memory size (in bytes) required for the family, or zero if asset is invalid.