rprLightSetVisibilityFlag

Sets a visibility flag for a light.

rpr_status rprLightSetVisibilityFlag(

rpr_light light,

rpr_light_info visibilityFlag,

rpr_bool visible);

Parameters

Parameter

Description

light

The light to set visibility for.

visibilityFlag

One of visibility flags.

visible

Determines if the shape is visible or not.

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.