cohtml::CoherentToColor
#include <Property.h>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| bool | Invoke(const T & v, renoir::Color * color) Convert from C++ value to a color. |
Detailed Description
Section titled “Detailed Description”template <typename T >struct cohtml::CoherentToColor;Public Functions Documentation
Section titled “Public Functions Documentation”function Invoke
Section titled “function Invoke”static inline bool Invoke( const T & v, renoir::Color * color)Convert from C++ value to a color.
Parameters:
- v - the C++ value
- color - output parameter for the value
Return: true - if the conversion was successful
© 2026 Coherent Labs. All rights reserved.