XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALImageCapture Class Reference

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< xiiGALDeviceGetDevice () 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 RecycleStagingTexture (xiiSharedPtr< xiiGALTexture > &&pStagingTexture)
 Recycles a staging texture that is no longer needed.
 

Detailed Description

This class provides functionality to capture images from the GPU, typically used for screenshots, debugging or analysis purposes.


The documentation for this class was generated from the following files: