Visual Computing Library
|
HasColor concept is satisfied only if a Element/Mesh class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::Color component of a given element/mesh. More...
#include <vclib/concepts/mesh/components/color.h>
HasColor concept is satisfied only if a Element/Mesh class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::Color component of a given element/mesh.
Note that this concept does not discriminate between the Horizontal Color component and the vertical OptionalColor component, therefore it does not guarantee that a template Element type that satisfies this concept provides Color component at runtime (it is guaranteed only that the proper member functions are available at compile time).