arsa  2.7
Public Member Functions | List of all members
irr::scene::SVertexColorInvertManipulator Class Reference

Vertex manipulator which inverts the RGB values. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexColorInvertManipulator:
irr::scene::IVertexManipulator

Public Member Functions

void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator which inverts the RGB values.

Definition at line 51 of file SVertexManipulator.h.

Member Function Documentation

◆ operator()()

void irr::scene::SVertexColorInvertManipulator::operator() ( video::S3DVertex vertex) const
inline

Definition at line 54 of file SVertexManipulator.h.

55  {
56  vertex.Color.setRed(255-vertex.Color.getRed());
57  vertex.Color.setGreen(255-vertex.Color.getGreen());
58  vertex.Color.setBlue(255-vertex.Color.getBlue());
59  }

The documentation for this class was generated from the following file: