rprContextSetParameterString

Sets a context parameter to a string value.

rpr_int rprContextSetParameterString(

rpr_context context,

rpr_char const * name,

rpr_char const * value);

Parameters

Parameter

Description

context

The context to set the parameter value to.

name

The parameter name.

value

The parameter value to set.

Return

Returns RPR_SUCCESS in case of success, or RPR_ERROR code if the parameter name is unknown or parameter type is not a string type.

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