Radeon ProRender


Sets an IES image of a spot light.

rpr_int rprSpotLightSetImage( rpr_light light,
  rpr_image img);


Parameter Description
light The light to set the image for.
img The image to set.


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.