This method adds a post-processing effect to a camera.
int AddPostEffect(shared_ptr<PostEffect> effect)
Parameter | Description |
---|---|
effect | post-processing effect to add |
Returns the index of the added post-processing effect, or negative one if the effect could not be added.
A camera may have up to eight post-processing effects added.