![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A target of rendering commands. More...
#include <GUIRenderTarget.h>
Public Member Functions | |
CGUIRenderTarget (IRenderManager *renderManager) | |
virtual | ~CGUIRenderTarget ()=default |
virtual void | Render ()=0 |
Draw the frame to the rendering area. | |
virtual void | RenderEx ()=0 |
Draw the frame to the rendering area differently somehow. | |
virtual void | ClearBackground () |
Clear the background of the rendering area. | |
virtual bool | IsDirty () |
Check of the rendering area is dirty. | |
Protected Attributes | |
IRenderManager *const | m_renderManager |
A target of rendering commands.
This class abstracts the destination of rendering commands. As a result, controls and windows are given a unified API.
CGUIRenderTarget::CGUIRenderTarget | ( | IRenderManager * | renderManager | ) |
|
virtualdefault |
|
inlinevirtual |
Clear the background of the rendering area.
Reimplemented in KODI::RETRO::CGUIRenderFullScreen.
|
inlinevirtual |
Check of the rendering area is dirty.
|
pure virtual |
Draw the frame to the rendering area.
Implemented in KODI::RETRO::CGUIRenderControl, and KODI::RETRO::CGUIRenderFullScreen.
|
pure virtual |
Draw the frame to the rendering area differently somehow.
Implemented in KODI::RETRO::CGUIRenderControl, and KODI::RETRO::CGUIRenderFullScreen.
|
protected |