Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CScreenshotSurfaceGL Class Reference

#include <ScreenshotSurfaceGL.h>

Inheritance diagram for CScreenshotSurfaceGL:
IScreenshotSurface

Public Member Functions

bool Capture () override
 
- Public Member Functions inherited from IScreenshotSurface
virtual ~IScreenshotSurface ()=default
 
virtual void CaptureVideo (bool blendToBuffer)
 
int GetWidth () const
 
int GetHeight () const
 
int GetStride () const
 
unsigned char * GetBuffer () const
 
void ReleaseBuffer ()
 

Static Public Member Functions

static void Register ()
 
static std::unique_ptr< IScreenshotSurfaceCreateSurface ()
 

Additional Inherited Members

- Protected Attributes inherited from IScreenshotSurface
int m_width {0}
 
int m_height {0}
 
int m_stride {0}
 
unsigned char * m_buffer {nullptr}
 

Member Function Documentation

◆ Capture()

bool CScreenshotSurfaceGL::Capture ( )
overridevirtual

Reimplemented from IScreenshotSurface.

◆ CreateSurface()

std::unique_ptr< IScreenshotSurface > CScreenshotSurfaceGL::CreateSurface ( )
static

◆ Register()

void CScreenshotSurfaceGL::Register ( )
static

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