Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGUtils::color Namespace Reference

Functions

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

Function Documentation

◆ sRGBToLinear()

QVector4D QSSGUtils::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 QSSGUtils::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: