NvBlastAssetGetFirstSubsupportChunkIndex

Defined in lowlevel/NvBlast.h

uint32_t NvBlastAssetGetFirstSubsupportChunkIndex(const NvBlastAsset *asset, NvBlastLog logFn)

Get the first subsupport chunk index in the given asset.

Chunks are sorted such that subsupport chunks come last. This is the first subsupport chunk index. Equals to total chunk count if there are no subsupport chunks.

Parameters
  • asset[in] The asset.

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

Returns

the first subsupport chunk index in the asset.