rprContextSetParameterByKeyString

Sets context parameter to a string value.

rpr_status rprContextSetParameterByKeyString(

rpr_context context,

rpr_context_info in_input,

rpr_char const * value);

Parameters

Parameter

Description

context

The context to set the parameter value for.

in_input

The parameter name. Can be any RPR_CONTEXT_* value.

x

The parameter value.

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.