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
QSSGTonemapper Namespace Reference

Functions

QVector3D vsqrt (const QVector3D &a)
 
QVector3D vmax (const QVector3D &a, const QVector3D &b)
 
QVector3D vclamp (const QVector3D &a, float b, float c)
 
QVector3D vadd (const QVector3D &a, float b)
 
template<typename mType >
QVector3D mad (mType m, const QVector3D &a, float b)
 
QVector3D tonemapLinearToSrgb (const QVector3D &c)
 
QVector3D tonemapHejlDawson (const QVector3D &c)
 
QVector3D tonemapAces (const QVector3D &c)
 
QVector3D tonemapFilmicSub (const QVector3D &c)
 
QVector3D tonemapFilmic (const QVector3D &c)
 

Function Documentation

◆ mad()

template<typename mType >
QVector3D QSSGTonemapper::mad ( mType m,
const QVector3D & a,
float b )
inline

Definition at line 46 of file qssgcputonemapper_p.h.

References vadd().

Referenced by tonemapAces(), tonemapFilmicSub(), and tonemapHejlDawson().

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

◆ tonemapAces()

QVector3D QSSGTonemapper::tonemapAces ( const QVector3D & c)
inline

Definition at line 67 of file qssgcputonemapper_p.h.

References A, B, E, mad(), tonemapLinearToSrgb(), vadd(), and vclamp().

Referenced by tonemapRgb().

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

◆ tonemapFilmic()

QVector3D QSSGTonemapper::tonemapFilmic ( const QVector3D & c)
inline

Definition at line 88 of file qssgcputonemapper_p.h.

References tonemapFilmicSub(), and tonemapLinearToSrgb().

Referenced by tonemapRgb().

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

◆ tonemapFilmicSub()

QVector3D QSSGTonemapper::tonemapFilmicSub ( const QVector3D & c)
inline

Definition at line 77 of file qssgcputonemapper_p.h.

References A, B, E, mad(), and vadd().

Referenced by tonemapFilmic().

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

◆ tonemapHejlDawson()

QVector3D QSSGTonemapper::tonemapHejlDawson ( const QVector3D & c)
inline

Definition at line 61 of file qssgcputonemapper_p.h.

References mad(), vadd(), and vmax().

Referenced by tonemapRgb().

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

◆ tonemapLinearToSrgb()

QVector3D QSSGTonemapper::tonemapLinearToSrgb ( const QVector3D & c)
inline

Definition at line 53 of file qssgcputonemapper_p.h.

References vsqrt().

Referenced by tonemapAces(), tonemapFilmic(), and tonemapRgb().

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

◆ vadd()

QVector3D QSSGTonemapper::vadd ( const QVector3D & a,
float b )
inline

Definition at line 40 of file qssgcputonemapper_p.h.

Referenced by mad(), tonemapAces(), tonemapFilmicSub(), and tonemapHejlDawson().

+ Here is the caller graph for this function:

◆ vclamp()

QVector3D QSSGTonemapper::vclamp ( const QVector3D & a,
float b,
float c )
inline

Definition at line 35 of file qssgcputonemapper_p.h.

References qBound().

Referenced by tonemapAces().

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

◆ vmax()

QVector3D QSSGTonemapper::vmax ( const QVector3D & a,
const QVector3D & b )
inline

Definition at line 30 of file qssgcputonemapper_p.h.

Referenced by tonemapHejlDawson().

+ Here is the caller graph for this function:

◆ vsqrt()

QVector3D QSSGTonemapper::vsqrt ( const QVector3D & a)
inline

Definition at line 25 of file qssgcputonemapper_p.h.

Referenced by tonemapLinearToSrgb().

+ Here is the caller graph for this function: