Vertex manipulator which adjusts the brightness by a gamma operation. More...
#include <SVertexManipulator.h>
Public Member Functions | |
SVertexColorGammaManipulator (f32 gamma) | |
void | operator() (video::S3DVertex &vertex) const |
Vertex manipulator which adjusts the brightness by a gamma operation.
A value over one increases brightness, one below darkens the colors.
Definition at line 126 of file SVertexManipulator.h.
|
inline |
Definition at line 129 of file SVertexManipulator.h.
|
inline |
Definition at line 134 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().