Radeon ProRender


Creates a model from a supplied graph.

rml_status rmlCreateModelFromGraph( rml_context context,
  rml_graph graph,
  rml_model* model);




Parameter Input/Output Description
context input A valid context handle.
graph input A valid graph handle.
model output A pointer to a resulting model handle.

Return and Status Codes

Returns a valid tensor handle in case of success and status:

  • RML_OK if the operation is successful
  • RML_ERROR_BAD_PARAMETER if context or graph is invalid or model is NULL

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