Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::scene::SVertexColorThresholdManipulator Class Reference

Vertex manipulator to set vertex color to one of two values depending on a given threshold. More...

#include <jimcpp/core/engine/SVertexManipulator.hpp>

Inheritance diagram for jpp::scene::SVertexColorThresholdManipulator:
Inheritance graph
Collaboration diagram for jpp::scene::SVertexColorThresholdManipulator:
Collaboration graph

Public Member Functions

 SVertexColorThresholdManipulator (u8 threshold, video::SColor low, video::SColor high)
 
void operator() (video::S3DVertex &vertex) const
 

Detailed Description

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.


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

Jimcpp    @cppfx.xyz

K