NvBlastAssetGetSupportChunkCount

Defined in lowlevel/NvBlast.h

uint32_t NvBlastAssetGetSupportChunkCount(const NvBlastAsset *asset, NvBlastLog logFn)

Get the number of support chunks in the given asset.

This will equal the number of graph nodes in NvBlastSupportGraph::nodeCount returned by NvBlastAssetGetSupportGraph only if no extra “external” node was created. If such bonds were created, then an extra “external” graph node is added, and this function will return NvBlastSupportGraph::nodeCount - 1.

Parameters
  • asset[in] The asset.

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

Returns

the number of chunks in the asset.