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

Public Types

using map = std::map<RenderMethod, int>
 
using weights_fn = std::function<void(map&, const VideoPicture&)>
 
using create_fn = std::function<CRendererBase*(CVideoSettings&)>
 

Static Public Member Functions

template<class T >
static constexpr render_details get (RenderMethod method, const std::string &name)
 

Public Attributes

RenderMethod method
 
std::string name
 
create_fn create
 
weights_fn weights
 

Member Typedef Documentation

◆ create_fn

◆ map

using render_details::map = std::map<RenderMethod, int>

◆ weights_fn

using render_details::weights_fn = std::function<void(map&, const VideoPicture&)>

Member Function Documentation

◆ get()

template<class T >
static constexpr render_details render_details::get ( RenderMethod method,
const std::string & name )
inlinestaticconstexpr

Member Data Documentation

◆ create

create_fn render_details::create

◆ method

RenderMethod render_details::method

◆ name

std::string render_details::name

◆ weights

weights_fn render_details::weights

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