rprMaterialNodeSetInputGridDataByKey

Sets grid input value.

rpr_status rprMaterialNodeSetInputGridDataByKey(

rpr_material_node in_node,

rpr_material_node_input in_input,

rpr_grid grid);

Parameters

Parameter

Description

in_node

The material node to set input value for.

in_input

The input parameter to set value for.

grid

Grid 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.