1.7.2.9
Gameface
cohtml::FrameCapture Struct Referenceabstract

Debugging class holding debug frame captured data and size. Passed to FrameCaptureCallback on View::BeginCaptureDebugFrame and View::CaptureSingleDebugFrame methods. More...

Public Member Functions

virtual void Release ()=0
 Frees the underlying data. More...
 
virtual ~FrameCapture ()
 

Public Attributes

const char * Data
 Pointer to the binary capture data. More...
 
unsigned long long Size
 Size in bytes of the data pointed by Data. More...
 

Detailed Description

Debugging class holding debug frame captured data and size. Passed to FrameCaptureCallback on View::BeginCaptureDebugFrame and View::CaptureSingleDebugFrame methods.

Note
Release() must be called after finished using the data to free the memory.

Constructor & Destructor Documentation

◆ ~FrameCapture()

virtual cohtml::FrameCapture::~FrameCapture ( )
virtual

Member Function Documentation

◆ Release()

virtual void cohtml::FrameCapture::Release ( )
pure virtual

Frees the underlying data.

Member Data Documentation

◆ Data

const char* cohtml::FrameCapture::Data

Pointer to the binary capture data.

◆ Size

unsigned long long cohtml::FrameCapture::Size

Size in bytes of the data pointed by Data.