resolveViewIndices#
Fully qualified name: isaacsim::physics::newton::tensors::resolveViewIndices
- inline void isaacsim::physics::newton::tensors::resolveViewIndices(
- const TensorDesc *indexTensor,
- uint32_t defaultCount,
- std::vector<uint32_t> &out,
Resolves an index tensor into a list of uint32_t view indices. If indexTensor is null, fills out with [0, 1, …, defaultCount-1]. Writes into the caller-provided vector to avoid per-call allocation. Handles both CPU and GPU source tensors (D2H copy for GPU).