rprContextAttachPostEffect

Attaches a given post effect to be run after rendering.

rpr_status rprContextAttachPostEffect(

rpr_context context,

rpr_post_effect effect);

Parameters

Parameter

Description

context

The context to attach a post effect to.

effect

The post effect to attach.

Notes

Multiple post effects can be attached to a context, and they will run in the order they have been attached. Post effects will affect the RGBA color output, but not AOVs.

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.