![]() |
ezEngine Release 26.9
|
Base class for window output targets. More...
#include <WindowOutputTargetBase.h>

Public Member Functions | |
| virtual void | AcquireImage ()=0 |
| virtual void | PresentImage (bool bEnableVSync)=0 |
| virtual ezResult | StartCaptureImage ()=0 |
| virtual ezEnum< ezCaptureImageResult > | WaitCaptureImage (ezImage &out_image)=0 |
Base class for window output targets.
A window output target is usually tied tightly to a window (
This interface provides the high level functionality that is needed by ezGameApplication to work with the render output.
|
pure virtual |
Starts an asynchronous capture of the current back buffer. Returns EZ_FAILURE if a capture is already in flight or if the operation cannot be started.
Implemented in ezWindowOutputTargetGAL, and ezWindowOutputTargetXR.
|
pure virtual |
Polls the state of a pending capture. Returns Ready once the image data has been copied into out_image.
Implemented in ezWindowOutputTargetGAL, and ezWindowOutputTargetXR.