rprContextSetActivePlugin

Sets active context plug-in.

rpr_status rprContextSetActivePlugin(

rpr_context context,

rpr_int pluginID);

Parameters

Parameter

Description

context

Context to set the active plug-in for.

pluginID

int plug-in ID returned from rprRegisterPlugin() to set as active.

Notes

Currently the only context plug-in is Tahoe.dll (or Tahoe.dylib on macOS).

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.