validateOptionalIndexTensor#

Fully qualified name: isaacsim::physics::newton::tensors::validateOptionalIndexTensor

inline bool isaacsim::physics::newton::tensors::validateOptionalIndexTensor(
const TensorDesc *indexTensor,
int expectedDevice,
const char *funcName,
)#

Validates an optional index tensor. If provided, it must reside on the expected device and be int32/uint32. A null/empty index tensor is accepted (identity mapping).