![]() |
XII Release 0.1.0
|
This class provides functionality to capture images from the GPU, typically used for screenshots, debugging or analysis purposes. More...
#include <ImageCapture.h>
Classes | |
| struct | CaptureDescription |
Public Member Functions | |
| xiiGALImageCapture (xiiSharedPtr< xiiGALDevice > pDevice) | |
| xiiSharedPtr< xiiGALDevice > | GetDevice () const |
| Retrieves the device associated with this image capture instance. | |
| CaptureDescription | GetCapture () |
| Retrieves the oldest available capture texture, if any. | |
| bool | HasCapture () |
| Checks if there is a texture available for capture. | |
| XII_ALWAYS_INLINE xiiUInt32 | GetPendingCaptureCount () const |
| Returns the number of textures that are currently available for capture. | |
| void | Capture (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiSharedPtr< xiiGALCommandList > pCommandList, xiiUInt32 uiFrameIndex) |
| Captures the current frame from the specified swap chain and command list. | |
| void | WaitForCompletedValue () |
| Waits on the capture fence until the completed value is reached. | |
| void | RecycleStagingTexture (xiiSharedPtr< xiiGALTexture > &&pStagingTexture) |
| Recycles a staging texture that is no longer needed. | |
This class provides functionality to capture images from the GPU, typically used for screenshots, debugging or analysis purposes.