rprMaterialNodeSetInputLightDataByKey

Sets light input value.

rpr_status rprMaterialNodeSetInputLightDataByKey(

rpr_material_node in_node,

rpr_material_node_input in_input,

rpr_light light);

Parameters

Parameter

Description

in_node

The material node to set input value for.

in_input

The input parameter to set value for.

light

Light to set as the input.

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.