NvBlastActorGetVisibleChunkIndices

Defined in lowlevel/NvBlast.h

uint32_t NvBlastActorGetVisibleChunkIndices(uint32_t *visibleChunkIndices, uint32_t visibleChunkIndicesSize, const NvBlastActor *actor, NvBlastLog logFn)

Retrieve a list of visible chunk indices for the actor into the given array.

Parameters
  • visibleChunkIndices[in] User-supplied array to be filled in with indices of visible chunks for this actor.

  • visibleChunkIndicesSize[in] The size of the visibleChunkIndices array. To receive all visible chunk indices, the size must be at least that given by NvBlastActorGetVisibleChunkCount(actor).

  • actor[in] The actor.

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

Returns

the number of indices written to visibleChunkIndices. This will not exceed visibleChunkIndicesSize.