Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qshader.h File Reference
#include <QtGui/qtguiglobal.h>
#include <QtCore/qhash.h>
#include <QtCore/qmap.h>
#include <rhi/qshaderdescription.h>
+ Include dependency graph for qshader.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QShaderVersion
 \inmodule QtGui More...
 
class  QShaderCode
 \inmodule QtGui More...
 
class  QShader
 \inmodule QtGui More...
 
struct  QShader::SeparateToCombinedImageSamplerMapping
 \inmodule QtGui More...
 
struct  QShader::NativeShaderInfo
 \inmodule QtGui More...
 
class  QShaderKey
 \inmodule QtGui More...
 

Functions

 Q_DECLARE_TYPEINFO (QShaderVersion, Q_RELOCATABLE_TYPE)
 
Q_GUI_EXPORT size_t qHash (const QShaderCode &, size_t=0) noexcept
 
 Q_DECLARE_TYPEINFO (QShaderCode, Q_RELOCATABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QShaderKey, Q_RELOCATABLE_TYPE)
 
Q_GUI_EXPORT bool operator== (const QShader &lhs, const QShader &rhs) noexcept
 
Q_GUI_EXPORT size_t qHash (const QShader &s, size_t seed=0) noexcept
 
bool operator!= (const QShader &lhs, const QShader &rhs) noexcept
 
Q_GUI_EXPORT bool operator== (const QShaderVersion &lhs, const QShaderVersion &rhs) noexcept
 
Q_GUI_EXPORT bool operator< (const QShaderVersion &lhs, const QShaderVersion &rhs) noexcept
 
Q_GUI_EXPORT bool operator== (const QShaderKey &lhs, const QShaderKey &rhs) noexcept
 
Q_GUI_EXPORT bool operator< (const QShaderKey &lhs, const QShaderKey &rhs) noexcept
 
Q_GUI_EXPORT bool operator== (const QShaderCode &lhs, const QShaderCode &rhs) noexcept
 
bool operator!= (const QShaderVersion &lhs, const QShaderVersion &rhs) noexcept
 
bool operator!= (const QShaderKey &lhs, const QShaderKey &rhs) noexcept
 
bool operator!= (const QShaderCode &lhs, const QShaderCode &rhs) noexcept
 
Q_GUI_EXPORT size_t qHash (const QShaderKey &k, size_t seed=0) noexcept
 
Q_GUI_EXPORT QDebug operator<< (QDebug, const QShader &)
 
Q_GUI_EXPORT QDebug operator<< (QDebug dbg, const QShaderKey &k)
 
Q_GUI_EXPORT QDebug operator<< (QDebug dbg, const QShaderVersion &v)
 

Function Documentation

◆ operator!=() [1/4]

bool operator!= ( const QShader lhs,
const QShader rhs 
)
related

Definition at line 201 of file qshader.h.

◆ operator!=() [2/4]

bool operator!= ( const QShaderCode lhs,
const QShaderCode rhs 
)
related

Definition at line 222 of file qshader.h.

◆ operator!=() [3/4]

bool operator!= ( const QShaderKey lhs,
const QShaderKey rhs 
)
related

Definition at line 217 of file qshader.h.

◆ operator!=() [4/4]

bool operator!= ( const QShaderVersion lhs,
const QShaderVersion rhs 
)
related

Definition at line 212 of file qshader.h.

◆ operator<() [1/2]

Q_GUI_EXPORT bool operator< ( const QShaderKey lhs,
const QShaderKey rhs 
)
related

◆ operator<() [2/2]

Q_GUI_EXPORT bool operator< ( const QShaderVersion lhs,
const QShaderVersion rhs 
)
related

◆ operator<<() [1/3]

Q_GUI_EXPORT QDebug operator<< ( QDebug  dbg,
const QShaderKey k 
)

Definition at line 937 of file qshader.cpp.

References QShaderKey::source(), QShaderKey::sourceVariant(), and QShaderKey::sourceVersion().

+ Here is the call graph for this function:

◆ operator<<() [2/3]

Q_GUI_EXPORT QDebug operator<< ( QDebug  dbg,
const QShaderVersion v 
)

Definition at line 946 of file qshader.cpp.

◆ operator<<() [3/3]

Q_GUI_EXPORT QDebug operator<< ( QDebug  dbg,
const QShader bs 
)

Definition at line 169 of file qshader.cpp.

◆ operator==() [1/4]

Q_GUI_EXPORT bool operator== ( const QShader lhs,
const QShader rhs 
)
related

◆ operator==() [2/4]

Q_GUI_EXPORT bool operator== ( const QShaderCode lhs,
const QShaderCode rhs 
)
related

◆ operator==() [3/4]

Q_GUI_EXPORT bool operator== ( const QShaderKey lhs,
const QShaderKey rhs 
)
related

◆ operator==() [4/4]

Q_GUI_EXPORT bool operator== ( const QShaderVersion lhs,
const QShaderVersion rhs 
)
related

◆ Q_DECLARE_TYPEINFO() [1/3]

Q_DECLARE_TYPEINFO ( QShaderCode  ,
Q_RELOCATABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/3]

Q_DECLARE_TYPEINFO ( QShaderKey  ,
Q_RELOCATABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [3/3]

Q_DECLARE_TYPEINFO ( QShaderVersion  ,
Q_RELOCATABLE_TYPE   
)

◆ qHash() [1/3]

Q_GUI_EXPORT size_t qHash ( const QShader s,
size_t  seed = 0 
)
related

◆ qHash() [2/3]

Q_GUI_EXPORT size_t qHash ( const QShaderCode ,
size_t  = 0 
)
related

◆ qHash() [3/3]

Q_GUI_EXPORT size_t qHash ( const QShaderKey k,
size_t  seed = 0 
)
related