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>.
|
Classes | |
struct | Key |
struct | MaterialType |
Public Member Functions | |
QSGMaterialType * | ref (const QShader &vs, const QShader &fs) |
void | unref (const QShader &vs, const QShader &fs) |
void | reset () |
void | clearGraveyard () |
Public Attributes | |
QHash< Key, MaterialType > | m_types |
QHash< Key, QSGMaterialType * > | m_graveyard |
Definition at line 156 of file qsgrhishadereffectnode.cpp.
|
inline |
Definition at line 166 of file qsgrhishadereffectnode.cpp.
References m_graveyard, and qDeleteAll().
Referenced by reset().
QSGMaterialType * QSGRhiShaderMaterialTypeCache::ref | ( | const QShader & | vs, |
const QShader & | fs ) |
Definition at line 200 of file qsgrhishadereffectnode.cpp.
References it, lock, m_graveyard, m_types, and shaderMaterialTypeCacheMutex.
|
inline |
Definition at line 160 of file qsgrhishadereffectnode.cpp.
References clearGraveyard(), it, and m_types.
Definition at line 223 of file qsgrhishadereffectnode.cpp.
References it, lock, m_graveyard, m_types, and shaderMaterialTypeCacheMutex.
QHash<Key, QSGMaterialType *> QSGRhiShaderMaterialTypeCache::m_graveyard |
Definition at line 190 of file qsgrhishadereffectnode.cpp.
Referenced by clearGraveyard(), ref(), and unref().
QHash<Key, MaterialType> QSGRhiShaderMaterialTypeCache::m_types |
Definition at line 189 of file qsgrhishadereffectnode.cpp.