Radeon ProRender

rifImageFilterSetComputeType

Used to set filter calculations precision.

rif_int rifImageFilterSetComputeType( rif_image_filter image_filter,
  rif_compute_type compute_type);

Parameters

Parameter Input/Output Description
image_filter Input A valid rif_image_filter object.
compute_type Input Computation type, float16 or float32.

Return

Returns RIF_SUCCESS if the function is executed successfully, or RIF_ERROR code if a problem is encountered.

Errors

Possible error codes:

  • RIF_ERROR_INVALID_FILTER — image_filter is not a valid image filter object.