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

#include <RenderCaptureDX.h>

Inheritance diagram for CRenderCaptureDX:
CRenderCapture ID3DResource

Public Member Functions

 CRenderCaptureDX ()
 
 ~CRenderCaptureDX () override
 
void BeginRender () override
 
void EndRender () override
 
void ReadOut () override
 
void OnDestroyDevice (bool fatal) override
 
void OnCreateDevice () override
 
CD3DTextureGetTarget ()
 
- Public Member Functions inherited from CRenderCapture
 CRenderCapture ()=default
 
virtual ~CRenderCapture ()=default
 
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 ()
 
- Public Member Functions inherited from ID3DResource
virtual ~ID3DResource ()
 

Additional Inherited Members

- Protected Member Functions inherited from CRenderCapture
bool UseOcclusionQuery ()
 
- Protected Member Functions inherited from ID3DResource
void Register ()
 
void Unregister ()
 
- Protected Attributes inherited from CRenderCapture
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}
 
- Protected Attributes inherited from ID3DResource
bool m_bRegistered = false
 

Constructor & Destructor Documentation

◆ CRenderCaptureDX()

CRenderCaptureDX::CRenderCaptureDX ( )

◆ ~CRenderCaptureDX()

CRenderCaptureDX::~CRenderCaptureDX ( )
override

Member Function Documentation

◆ BeginRender()

void CRenderCaptureDX::BeginRender ( )
overridevirtual

Implements CRenderCapture.

◆ EndRender()

void CRenderCaptureDX::EndRender ( )
overridevirtual

Implements CRenderCapture.

◆ GetTarget()

CD3DTexture & CRenderCaptureDX::GetTarget ( )
inline

◆ OnCreateDevice()

void CRenderCaptureDX::OnCreateDevice ( void )
inlineoverridevirtual

Implements ID3DResource.

◆ OnDestroyDevice()

void CRenderCaptureDX::OnDestroyDevice ( bool fatal)
overridevirtual

Implements ID3DResource.

◆ ReadOut()

void CRenderCaptureDX::ReadOut ( )
overridevirtual

Reimplemented from CRenderCapture.


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