rprPostEffectSetParameter4f
Sets a post effect parameter to a value X,Y,Z (or RGBA).
rpr_status rprPostEffectSetParameter4f( |
rpr_post_effect effect, |
rpr_char const * name, |
|
rpr_float x, |
|
rpr_float y, |
|
rpr_float z, |
|
rpr_float w); |
Parameters
Parameter |
Description |
---|---|
effect |
The post effect to set the parameter value for. |
name |
The parameter name. |
x |
X parameter value. |
y |
Y parameter value. |
z |
Z parameter value. |
w |
W 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.