Function nvcvArraySetUserPointer

Function Documentation

NVCVStatus nvcvArraySetUserPointer(NVCVArrayHandle handle, void *userPtr)

Associates a user pointer to the array handle.

This pointer can be used to associate any kind of data with the array object.

Parameters:
  • handle[in] Array to be associated with the user pointer.

  • userPtr[in] User pointer.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.

  • NVCV_SUCCESS – Operation executed successfully.