NvBlastGetRequiredScratchForCreateAsset
Defined in lowlevel/NvBlast.h
-
size_t NvBlastGetRequiredScratchForCreateAsset(const NvBlastAssetDesc *desc, NvBlastLog logFn)
Returns the number of bytes of scratch memory that the user must supply to NvBlastCreateAsset, based upon the descriptor that will be passed into that function.
- Parameters
desc – [in] The asset descriptor that will be passed into NvBlastCreateAsset.
logFn – [in] User-supplied message function (see NvBlastLog definition). May be NULL.
- Returns
the number of bytes of scratch memory required for a call to NvBlastCreateAsset with that descriptor.