3#include <Core/System/Window.h>
Definition FrameCaptureInterface.h:6
virtual plResult GetLastAbsCaptureFileName(plStringBuilder &out_sFileName) const =0
Retrieve the absolute file name of the last successful frame capture. Returns PL_FAILURE if no succes...
virtual bool IsInitialized() const =0
Determine if a singleton implementing this interface has successfully been initialized and frame capt...
virtual void EndFrameCaptureAndWriteOutput(plWindowHandle hWnd)=0
End the current frame capture and write the result to the path given by SetAbsCaptureFilePathTemplate...
virtual void EndFrameCaptureAndDiscardResult(plWindowHandle hWnd)=0
End the current frame capture and discard the corresponding data, saving processing time and file I/O...
virtual plStringView GetAbsCaptureFilePathTemplate() const =0
Retrieve the absolute file path for storing frame captures.
virtual void StartFrameCapture(plWindowHandle hWnd)=0
Start capturing a frame rendered to the given window.
virtual bool IsFrameCapturing() const =0
Determine if a frame capture is currently in progress.
virtual void SetAbsCaptureFilePathTemplate(plStringView sFilePathTemplate)=0
Specify the absolute base file path for storing frame captures. For the final output file name,...
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54