![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Vertex manipulator to set vertex color to one of two values depending on a given threshold. More...
#include <duckcpp/core/engine/SVertexManipulator.hpp>
Public Member Functions | |
SVertexColorThresholdManipulator (dcpp::uint8_kt threshold, dcpp::video::SColor low, dcpp::video::SColor high) | |
void | operator() (dcpp::video::S3DVertex &vertex) const |
Vertex manipulator to set vertex color to one of two values depending on a given threshold.
If average of the color value is >Threshold the High color is chosen, else Low.