NvBlastAssetCreateFamily
Defined in lowlevel/NvBlast.h
-
NvBlastFamily *NvBlastAssetCreateFamily(void *mem, const NvBlastAsset *asset, 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(asset, 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.
asset – [in] Asset to instance.
logFn – [in] User-supplied message function (see NvBlastLog definition). May be NULL.
- Returns
the family.