Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
color Namespace Reference

Functions

QVector4D Q_QUICK3DUTILS_EXPORT sRGBToLinear (const QColor &color)
 
QColor Q_QUICK3DUTILS_EXPORT sRGBToLinearColor (const QColor &color)
 

Function Documentation

◆ sRGBToLinear()

QVector4D color::sRGBToLinear ( const QColor color)

Definition at line 161 of file qssgutils.cpp.

References rgb, and sRGBToLinear().

Referenced by sRGBToLinear(), and sRGBToLinearColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sRGBToLinearColor()

QColor color::sRGBToLinearColor ( const QColor color)

Definition at line 170 of file qssgutils.cpp.

References QColor::fromRgbF(), sRGBToLinear(), and sRGBToLinearColor().

Referenced by sRGBToLinearColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: