Radeon ProRender


Removes a light from a render layer. Also see rprContextDetachRenderLayer().

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


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


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.