Radeon ProRender

rprContextCreateComposite

Creates a composite operation object of the specified composite type.

rpr_status rprContextCreateComposite( rpr_context context,
  rpr_composite_type in_type,
  rpr_composite * out_composite);,

Parameters

Parameter Description
context The current rendering context.
in_type The type of the composite object to create.
out_composite A pointer to the created composite object.

Notes

Composite operations can be run on any framebuffer to create output framebuffers “composited” out of various inputs and operations.

Output

A pointer to a composite object.

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.

Errors

Possible error codes:

  • RPR_ERROR_OUT_OF_SYSTEM_MEMORY
  • RPR_ERROR_OUT_OF_VIDEO_MEMORY