Radeon ProRender


Sets up an input tensor for a node with a specified name.

All input dimensions must be specified before this call. The name my be NULL if there is a single output node.

rml_status rmlSetModelOutput( rml_model model,
  const char* name,
  rml_tensor output);




Parameter Input/Output Description
model input A valid model handle.
name input An optional output node name, in ASCII encoding.
output input A valid output tensor handle.

Return and Status Codes

Returns one of the following status codes:

  • RML_OK if the operation is successful
  • RML_ERROR_BAD_PARAMETER if model, name or output is invalid
  • RML_ERROR_MODEL_NOT_READY if some inputs have unspecified dimensions

To get more details in case of failure, call rmlGetLastError().