rprContextResolveFrameBuffer
Resolves a framebuffer.
Converts the input renderer’s native raw format src_frame_buffer
into an output dst_frame_buffer
that can be used for final rendering.
rpr_status rprContextResolveFrameBuffer( |
rpr_context context, |
rpr_framebuffer src_frame_buffer, |
|
rpr_framebuffer dst_frame_buffer, |
|
rpr_bool noDisplayGamma); |
Parameters
Parameter |
Description |
---|---|
context |
Context used to resolve the frame buffer. |
src_frame_buffer |
Source framebuffer. |
dst_frame_buffer |
Destination framebuffer. |
noDisplayGamma |
If noDisplayGamma = FALSE, then |
Notes
In RPR API 1.310, the default value of normalizeOnly has been removed. Set it to FALSE, if you don’t use this argument.
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