Radeon ProRender

rprFrameBufferSaveToFileEx

Saves a list of framebuffers (of length framebufferCount) to a multi-layer EXR file.

Same that rprFrameBufferSaveToFile, but more options. A list of frambuffers can be given, they will be saved to a multilayer EXR.

Note

This function is experimental.

rpr_status rprFrameBufferSaveToFileEx( rpr_framebuffer * framebufferList,
  rpr_uint framebufferCount,
  rpr_char const * filePath,
  void const * extraOptions);

Parameters

Parameter Description
framebufferList Framebuffers to save. For layer names, the framebuffer names (from rprObjectSetName) will be used if it exists.
framebufferCount Number of framebuffers in list.
file_path Path to a file (for UNICODE, supports UTF-8 encoding).
extraOptions The value must be set to NULL for now.

Notes

As this function is new (2.01.6 SDK) and still experimental, its arguments may change in the future.

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