NvBlastAssetGetFamilyMemorySizeFromSizeData

Defined in lowlevel/NvBlast.h

size_t NvBlastAssetGetFamilyMemorySizeFromSizeData(const NvBlastAssetMemSizeData &sizeData, NvBlastLog logFn)

Calculates the memory requirements for a family based upon supplied sized data.

Used primarily with serialization.

Parameters
  • sizeData[in] Alternate form where all size data is already known.

  • 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 data is invalid.