rprImageSetGamma
Sets gamma for an image.
| rpr_status rprImageSetGamma( | rpr_image image, | 
| rpr_float type); | 
Parameters
| Parameter | Description | 
|---|---|
| image | The image to set gamma for. | 
| type | Gamma value. | 
Notes
For sRGB image textures, the gamma value is typically set to 2.2. For linear textures, the default value of 1 is used.
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.