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

Vertex manipulator which adjusts the contrast by the given factor and brightness by a signed amount. More...

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

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

Public Member Functions

 SVertexColorContrastBrightnessManipulator (f32 factor, s32 amount)
 
void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator which adjusts the contrast by the given factor and brightness by a signed amount.

Factors over 1 increase contrast, below 1 reduce it. A positive amount increases brightness, a negative one darkens the colors.


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

Jimcpp    @cppfx.xyz

K