cohtml::FrameCapture

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

#include <View.h>

Public Functions

Name
virtual voidRelease() =0
Frees the underlying data.
virtual~FrameCapture()

Public Attributes

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

Detailed Description

struct cohtml::FrameCapture;

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.

Public Functions Documentation

function Release

virtual void Release() =0

Frees the underlying data.

function ~FrameCapture

virtual ~FrameCapture()

Public Attributes Documentation

variable Data

const char * Data;

Pointer to the binary capture data.

variable Size

unsigned long long Size;

Size in bytes of the data pointed by Data.