Home -> IRenderer -> WaitForOutputCaptureComplete

Description

This method performs the same synchronization as the WaitForDrawComplete method, however it will wait not just until the draw process is complete, but also until any attached framebufffer output capture objects have received data, as well as any other intermediate data outputs generated during the draw process. Without calling this method, the renderer will only make captured output available after a call is made to StartNewFrame, however if the application calls WaitForOutputCaptureComplete it explicitly synchronizes the application with the capture process in the renderer, and as a result the renderer will make captured output immediately available to the application when this method returns. This data will also continue to be available after StartNewFrame is called like it normally would, but calling the WaitForOutputCaptureComplete method gives the application earlier access to this data, and importantly allows it do to so without starting a new frame drawing.

ImportantImportant

It is perfectly valid to call this method even if no IFrameBufferOutput, IDataArrayOutput, or ITexelArrayOutput objects have been attached to any framebuffers used in the last draw operation.

Usage

void WaitForOutputCaptureComplete();

See also