Radeon ProRender

rprContextSetParameterByKey1u

Sets context parameter to a uint value.

rpr_status rprContextSetParameterByKey1u( rpr_context context,
  rpr_context_info in_input,
  rpr_uint x);

Parameters

Parameter Description
context The context to set the parameter value to.
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.