rprCompositeSetInputOp

Sets a composite operation from various math operations.

rpr_status rprCompositeSetInputOp(

rpr_composite composite,

const rpr_char * inputName,

rpr_material_node_arithmetic_operation op);

Parameters

Parameter

Description

composite

The composite node to set input for.

inputName

The input parameter to set value for.

input

Composite operation value to set as the input.

Notes

Only used on RPR_COMPOSITE_ARITHMETIC composite operations.

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.