|
Rerun C++ SDK
|
Component: A gamma correction value to be used with a scalar value or color. More...
#include <rerun/components/gamma_correction.hpp>
Public Member Functions | |
| GammaCorrection (rerun::datatypes::Float32 gamma_) | |
| GammaCorrection & | operator= (rerun::datatypes::Float32 gamma_) |
| GammaCorrection (float value_) | |
| GammaCorrection & | operator= (float value_) |
| operator rerun::datatypes::Float32 () const | |
| Cast to the underlying Float32 datatype. | |
Public Attributes | |
| rerun::datatypes::Float32 | gamma |
Component: A gamma correction value to be used with a scalar value or color.
Used to adjust the gamma of a color or scalar value between 0 and 1 before rendering. new_value = old_value ^ gamma
Must be a positive number. Defaults to 1.0 unless otherwise specified.