Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::RETRO::CGUIRenderTarget Class Referenceabstract

A target of rendering commands. More...

#include <GUIRenderTarget.h>

Inheritance diagram for KODI::RETRO::CGUIRenderTarget:
KODI::RETRO::CGUIRenderControl KODI::RETRO::CGUIRenderFullScreen

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
 

Detailed Description

A target of rendering commands.

This class abstracts the destination of rendering commands. As a result, controls and windows are given a unified API.

Constructor & Destructor Documentation

◆ CGUIRenderTarget()

CGUIRenderTarget::CGUIRenderTarget ( IRenderManager * renderManager)

◆ ~CGUIRenderTarget()

virtual KODI::RETRO::CGUIRenderTarget::~CGUIRenderTarget ( )
virtualdefault

Member Function Documentation

◆ ClearBackground()

virtual void KODI::RETRO::CGUIRenderTarget::ClearBackground ( )
inlinevirtual

Clear the background of the rendering area.

Reimplemented in KODI::RETRO::CGUIRenderFullScreen.

◆ IsDirty()

virtual bool KODI::RETRO::CGUIRenderTarget::IsDirty ( )
inlinevirtual

Check of the rendering area is dirty.

Todo

◆ Render()

virtual void KODI::RETRO::CGUIRenderTarget::Render ( )
pure virtual

Draw the frame to the rendering area.

Implemented in KODI::RETRO::CGUIRenderControl, and KODI::RETRO::CGUIRenderFullScreen.

◆ RenderEx()

virtual void KODI::RETRO::CGUIRenderTarget::RenderEx ( )
pure virtual

Draw the frame to the rendering area differently somehow.

Implemented in KODI::RETRO::CGUIRenderControl, and KODI::RETRO::CGUIRenderFullScreen.

Member Data Documentation

◆ m_renderManager

IRenderManager* const KODI::RETRO::CGUIRenderTarget::m_renderManager
protected

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