Radeon ProRender


Adds a light to a string named render layer. Also see rprContextAttachRenderLayer().

rpr_status rprLightAttachRenderLayer( rpr_light light,
  rpr_char const * renderLayerString);


Parameter Description
light The light to attach the render layer to.
renderLayerString Render layer name to attach.


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.