Radeon ProRender

rprContextGetAttachedPostEffect

Gets the i’th post effect attached to the context queue of post effects.

rpr_status rprContextGetAttachedPostEffect( rpr_context context,
  rpr_uint i,
  rpr_post_effect * out_effect);

Parameters

Parameter Description
context The context to get a post effect from.
i Position of a post effect to get.
out_effect A pointer to the post effect object returned.

Notes

i should be between 0 and the number of post effects attached to the context. See rprContextGetAttachedPostEffectCount().

Output

A pointer to a post effect object.

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.