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

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

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

Inheritance diagram for nirt::scene::SVertexColorContrastBrightnessManipulator:
Inheritance graph
Collaboration diagram for nirt::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:

Nirtcpp    @cppfx.xyz

Utxcpp    utx::print