rprContextCreateLUTFromData

Creates a LUT object from binary data.

rpr_status rprContextCreateLUTFromData(

rpr_context context,

const rpr_char * lutData,

rpr_lut * out_lut);

Parameters

Parameter

Description

context

The context to create a lut object for.

lutData

Binary data to create 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.