validateUint8Tensor#

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

inline bool isaacsim::physics::newton::tensors::validateUint8Tensor(
const TensorDesc *tensor,
int expectedDevice,
size_t expectedElements,
const char *tensorName,
const char *funcName,
)#

Validates that a tensor is non-null, resides on the expected device, and has an exact total element count. The data type check is skipped (caller should pick the appropriate variant above when a dtype constraint applies).