rprFrameBufferSaveToFile
Saves framebuffer to a file.
rpr_status rprFrameBufferSaveToFile( |
rpr_framebuffer frame_buffer, |
rpr_char const * file_path); |
Parameters
Parameter |
Description |
---|---|
frame_buffer |
Framebuffer to save. |
file_path |
Path to a file (for UNICODE, supports UTF-8 encoding). |
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