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

Interface to expose rendering functions to GUI components. More...

#include <IRenderManager.h>

Inheritance diagram for KODI::RETRO::IRenderManager:
KODI::RETRO::CRPRenderManager

Public Member Functions

virtual ~IRenderManager ()=default
 
virtual void RenderWindow (bool bClear, const RESOLUTION_INFO &coordsRes)=0
 Render a fullscreen window.
 
virtual void RenderControl (bool bClear, bool bUseAlpha, const CRect &renderRegion, const IGUIRenderSettings *renderSettings)=0
 Render a game control.
 
virtual void ClearBackground ()=0
 Clear the background of a fullscreen window.
 

Detailed Description

Interface to expose rendering functions to GUI components.

Constructor & Destructor Documentation

◆ ~IRenderManager()

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

Member Function Documentation

◆ ClearBackground()

virtual void KODI::RETRO::IRenderManager::ClearBackground ( )
pure virtual

Clear the background of a fullscreen window.

Implemented in KODI::RETRO::CRPRenderManager.

◆ RenderControl()

virtual void KODI::RETRO::IRenderManager::RenderControl ( bool bClear,
bool bUseAlpha,
const CRect & renderRegion,
const IGUIRenderSettings * renderSettings )
pure virtual

Render a game control.

Parameters
bClearWhether the render area should be cleared
bUseAlphaWhether the graphics context's alpha should be used
renderRegionThe region of the control being rendered
renderSettingsThe settings used to render the control

Implemented in KODI::RETRO::CRPRenderManager.

◆ RenderWindow()

virtual void KODI::RETRO::IRenderManager::RenderWindow ( bool bClear,
const RESOLUTION_INFO & coordsRes )
pure virtual

Render a fullscreen window.

Parameters
bClearWhether the render area should be cleared
coordsResResolution that the window coordinates are in

Implemented in KODI::RETRO::CRPRenderManager.


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