Radeon ProRender


Sets a context parameter to a value X,Y,Z.

rpr_status rprContextSetParameterByKey3f( rpr_context context,
  rpr_context_info in_input,
  rpr_float x,
  rpr_float y,
  rpr_float z);


Parameter Description
context The context to set the parameter value to.
in_input The parameter name. Can be any RPR_CONTEXT_* value.
x X parameter value.
y Y parameter value.
z Z parameter value.


Returns RPR_SUCCESS in case of success, or RPR_ERROR code if the parameter name is unknown or parameter type is not a 3-value type (for instance, the parameter is an integer type).

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