1.7.2.9
Gameface
cohtml::CoherentToColor< T > Struct Template Reference

Static Public Member Functions

static bool Invoke (const T &v, renoir::Color *color)
 Convert from C++ value to a color. More...
 

Member Function Documentation

◆ Invoke()

template<typename T >
static bool cohtml::CoherentToColor< T >::Invoke ( const T &  v,
renoir::Color *  color 
)
inlinestatic

Convert from C++ value to a color.

Parameters
v- the C++ value
color- output parameter for the value
Returns
true - if the conversion was successful