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

#include <RenderCapture.h>

Inheritance diagram for CRenderCapture:
CRenderCaptureDX CRenderCaptureGL CRenderCaptureGLES

Public Member Functions

 CRenderCapture ()=default
 
virtual ~CRenderCapture ()=default
 
virtual void BeginRender ()=0
 
virtual void EndRender ()=0
 
virtual void ReadOut ()
 
virtual voidGetRenderBuffer ()
 
void SetState (ECAPTURESTATE state)
 
ECAPTURESTATE GetState ()
 
void SetUserState (ECAPTURESTATE state)
 
ECAPTURESTATE GetUserState ()
 
CEventGetEvent ()
 
void SetFlags (int flags)
 
int GetFlags ()
 
void SetWidth (unsigned int width)
 
void SetHeight (unsigned int height)
 
unsigned int GetWidth ()
 
unsigned int GetHeight ()
 
uint8_tGetPixels () const
 
bool IsAsync ()
 

Protected Member Functions

bool UseOcclusionQuery ()
 

Protected Attributes

ECAPTURESTATE m_state {CAPTURESTATE_FAILED}
 
ECAPTURESTATE m_userState {CAPTURESTATE_FAILED}
 
int m_flags {0}
 
CEvent m_event
 
uint8_tm_pixels {nullptr}
 
unsigned int m_width {0}
 
unsigned int m_height {0}
 
unsigned int m_bufferSize {0}
 
bool m_asyncSupported {false}
 
bool m_asyncChecked {false}
 

Constructor & Destructor Documentation

◆ CRenderCapture()

CRenderCapture::CRenderCapture ( )
default

◆ ~CRenderCapture()

virtual CRenderCapture::~CRenderCapture ( )
virtualdefault

Member Function Documentation

◆ BeginRender()

virtual void CRenderCapture::BeginRender ( )
pure virtual

◆ EndRender()

virtual void CRenderCapture::EndRender ( )
pure virtual

◆ GetEvent()

CEvent & CRenderCapture::GetEvent ( )
inline

◆ GetFlags()

int CRenderCapture::GetFlags ( )
inline

◆ GetHeight()

unsigned int CRenderCapture::GetHeight ( )
inline

◆ GetPixels()

uint8_t * CRenderCapture::GetPixels ( ) const
inline

◆ GetRenderBuffer()

virtual void * CRenderCapture::GetRenderBuffer ( )
inlinevirtual

Reimplemented in CRenderCaptureGL.

◆ GetState()

ECAPTURESTATE CRenderCapture::GetState ( )
inline

◆ GetUserState()

ECAPTURESTATE CRenderCapture::GetUserState ( )
inline

◆ GetWidth()

unsigned int CRenderCapture::GetWidth ( )
inline

◆ IsAsync()

bool CRenderCapture::IsAsync ( )
inline

◆ ReadOut()

virtual void CRenderCapture::ReadOut ( )
inlinevirtual

Reimplemented in CRenderCaptureDX, and CRenderCaptureGL.

◆ SetFlags()

void CRenderCapture::SetFlags ( int flags)
inline

◆ SetHeight()

void CRenderCapture::SetHeight ( unsigned int height)
inline

◆ SetState()

void CRenderCapture::SetState ( ECAPTURESTATE state)
inline

◆ SetUserState()

void CRenderCapture::SetUserState ( ECAPTURESTATE state)
inline

◆ SetWidth()

void CRenderCapture::SetWidth ( unsigned int width)
inline

◆ UseOcclusionQuery()

bool CRenderCapture::UseOcclusionQuery ( )
protected

Member Data Documentation

◆ m_asyncChecked

bool CRenderCapture::m_asyncChecked {false}
protected

◆ m_asyncSupported

bool CRenderCapture::m_asyncSupported {false}
protected

◆ m_bufferSize

unsigned int CRenderCapture::m_bufferSize {0}
protected

◆ m_event

CEvent CRenderCapture::m_event
protected

◆ m_flags

int CRenderCapture::m_flags {0}
protected

◆ m_height

unsigned int CRenderCapture::m_height {0}
protected

◆ m_pixels

uint8_t* CRenderCapture::m_pixels {nullptr}
protected

◆ m_state

ECAPTURESTATE CRenderCapture::m_state {CAPTURESTATE_FAILED}
protected

◆ m_userState

ECAPTURESTATE CRenderCapture::m_userState {CAPTURESTATE_FAILED}
protected

◆ m_width

unsigned int CRenderCapture::m_width {0}
protected

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