![]() |
Qt 6.x
The Qt SDK
|
Collaboration diagram for QSGRhiShaderMaterialTypeCache: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 |
| QVector< QSGMaterialType * > | m_graveyard |
Definition at line 157 of file qsgrhishadereffectnode.cpp.
|
inline |
Definition at line 167 of file qsgrhishadereffectnode.cpp.
References m_graveyard, and qDeleteAll().
Referenced by reset().
Here is the call graph for this function:
Here is the caller graph for this function:| QSGMaterialType * QSGRhiShaderMaterialTypeCache::ref | ( | const QShader & | vs, |
| const QShader & | fs | ||
| ) |
Definition at line 201 of file qsgrhishadereffectnode.cpp.
References it, lock, m_types, and shaderMaterialTypeCacheMutex.
|
inline |
Definition at line 161 of file qsgrhishadereffectnode.cpp.
References clearGraveyard(), it, and m_types.
Here is the call graph for this function:Definition at line 216 of file qsgrhishadereffectnode.cpp.
References it, lock, m_graveyard, m_types, and shaderMaterialTypeCacheMutex.
| QVector<QSGMaterialType *> QSGRhiShaderMaterialTypeCache::m_graveyard |
Definition at line 191 of file qsgrhishadereffectnode.cpp.
Referenced by clearGraveyard(), and unref().
| QHash<Key, MaterialType> QSGRhiShaderMaterialTypeCache::m_types |
Definition at line 190 of file qsgrhishadereffectnode.cpp.