Radeon ProRender


Sets a visibility flag for a light.

rpr_status rprLightSetVisibilityFlag( rpr_light light,
  rpr_light_info visibilityFlag,
  rpr_bool visible);


Parameter Description
light The light to set visibility for.
visibilityFlag One of visibility flags.
visible Determines if the shape is visible or not.


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.