rprMaterialNodeSetInputFByKey
Sets float input value for a material node.
rpr_status rprMaterialNodeSetInputFByKey( |
rpr_material_node in_node, |
rpr_material_node_input in_input, |
|
rpr_float in_value_x, |
|
rpr_float in_value_y, |
|
rpr_float in_value_z, |
|
rpr_float in_value_w); |
Parameters
Parameter |
Description |
---|---|
in_node |
The material node to set input value for. |
in_input |
The input parameter to set value for. |
in_value_x |
X input value to set. |
in_value_y |
Y input value to set. |
in_value_z |
Z input value to set. |
in_value_w |
W input value to set. |
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.