rprContextSetParameterByKeyPtr

Sets context parameter to a pointer value.

rpr_status rprContextSetParameterByKeyPtr(

rpr_context context,

rpr_context_info in_input,

void * 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.