rprContextSetParameterByKey4f
Sets a context parameter to a value X,Y,Z (or RGBA).
| rpr_status rprContextSetParameterByKey4f( | rpr_context context, | 
| rpr_context_info in_input, | |
| rpr_float x, | |
| rpr_float y, | |
| rpr_float z, | |
| rpr_float w); | 
Parameters
| Parameter | Description | 
|---|---|
| context | The context to set the parameter value to. | 
| in_input | The  parameter name. Can be any   | 
| x | X parameter value. | 
| y | Y parameter value. | 
| z | Z parameter value. | 
| w | W parameter value. | 
Return
Returns RPR_SUCCESS in case of success, or RPR_ERROR code if the parameter name is unknown or parameter type is not a 4-value type (for instance, the parameter is an integer type).
To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.