NvBlastAssetGetChunkToGraphNodeMap

Defined in lowlevel/NvBlast.h

const uint32_t *NvBlastAssetGetChunkToGraphNodeMap(const NvBlastAsset *asset, NvBlastLog logFn)

Access a map from chunk index to graph node index.

Returned map is valid in the domain [0, NvBlastAssetGetChunkCount(asset, logFn)). Non-support chunks are mapped to the invalid index 0xFFFFFFFF.

Parameters
  • asset[in] The asset.

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

Returns

an array of uint32_t values defining the map, of size NvBlastAssetGetChunkCount(asset, logFn).