Vertex manipulator which adjusts the contrast by the given factor. More...
#include <SVertexManipulator.h>
Public Member Functions | |
SVertexColorContrastManipulator (f32 factor) | |
void | operator() (video::S3DVertex &vertex) const |
Vertex manipulator which adjusts the contrast by the given factor.
Factors over 1 increase contrast, below 1 reduce it.
Definition at line 94 of file SVertexManipulator.h.
|
inline |
Definition at line 97 of file SVertexManipulator.h.
|
inline |
Definition at line 98 of file SVertexManipulator.h.
References irr::core::clamp(), irr::video::S3DVertex::Color, irr::video::SColor::getBlue(), irr::video::SColor::getGreen(), irr::video::SColor::getRed(), irr::core::round32(), irr::video::SColor::setBlue(), irr::video::SColor::setGreen(), and irr::video::SColor::setRed().