Radeon ProRender

rifImageUnmap

Unmaps previously mapped image data.

rif_int rifImageUnmap( rif_image image,
  void* ptr);

Parameters

Parameter Input/Output Description
image input A valid image object.
ptr output A pointer to the previously mapped data.

Return

Returns RIF_SUCCESS in case of success, or RIF_ERROR code if a problem was encountered.

Errors

  • RIF_ERROR_INVALID_IMAGE — image is not a valid image object.
  • RIF_ERROR_INVALID_PARAMETER — ptr is nullptr.
  • RIF_ERROR_INTERNAL_ERROR — an internal RadeonImageFiflters error occurs. Sends a bug report if such an error occurs.