Radeon ProRender

rprContextCreateLUTFromFile

Creates a LUT object from a file path string.

rpr_status rprContextCreateLUTFromFile( rpr_context context,
  const rpr_char * fileLutPath,
  rpr_lut * out_lut);

Parameters

Parameter Description
context The context to create a lut object for.
fileLutPath Path to the file to create a LUT object from.
out_lut A pointer to the created LUT object.

Notes

LUT objects are description of color correction used in composite operations.

Output

A pointer to a LUT object.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.

To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.