rprContextSetParameterByKey1f

Sets context parameter to a float value.

rpr_status rprContextSetParameterByKey1f(

rpr_context context,

rpr_context_info in_input,

rpr_float x);

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.