Vertex manipulator which scales the color values. More...
#include <SVertexManipulator.h>
Vertex manipulator which scales the color values.
Can e.g be used for white balance, factor would be 255.f/brightest color.
Definition at line 145 of file SVertexManipulator.h.
irr::scene::SVertexColorScaleManipulator::SVertexColorScaleManipulator | ( | f32 | factor | ) | [inline] |
Definition at line 148 of file SVertexManipulator.h.
void irr::scene::SVertexColorScaleManipulator::operator() | ( | video::S3DVertex & | vertex | ) | const [inline] |
Definition at line 149 of file SVertexManipulator.h.
References irr::core::clamp(), irr::video::S3DVertex::Color, and irr::core::round32().