NvBlastAssetCreateFamilyFromSizeData

Defined in lowlevel/NvBlast.h

NvBlastFamily *NvBlastAssetCreateFamilyFromSizeData(void *mem, const NvBlastAssetMemSizeData &sizeData, NvBlastLog logFn)

Family-building function.

Constructs an NvBlastFamily in-place at the address given by the user. The address must point to a block of memory of at least the size given by NvBlastAssetGetFamilyMemorySize(sizeData, logFn), and must be 16-byte aligned.

Parameters
  • mem[in] Pointer to block of memory of at least the size given by NvBlastAssetGetFamilyMemorySize(asset, logFn). Must be 16-byte aligned.

  • sizeData[in] Data used to init buffer sizes.

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

Returns

the family.