Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGRhiShaderMaterialTypeCache Struct Reference
Collaboration diagram for QSGRhiShaderMaterialTypeCache:

Classes

struct  Key
struct  MaterialType

Public Member Functions

QSGMaterialTyperef (const QShader &vs, const QShader &fs)
void unref (const QShader &vs, const QShader &fs)
void reset ()
void clearGraveyard ()
QSGMaterialTyperef (const QShader &vs, const QShader &fs)
void unref (const QShader &vs, const QShader &fs)
void reset ()
void clearGraveyard ()

Public Attributes

QHash< Key, MaterialTypem_types
QHash< Key, QSGMaterialType * > m_graveyard

Detailed Description

Definition at line 159 of file qsgrhishadereffectnode.cpp.

Member Function Documentation

◆ clearGraveyard() [1/2]

void QSGRhiShaderMaterialTypeCache::clearGraveyard ( )
inline

Definition at line 169 of file qsgrhishadereffectnode.cpp.

Referenced by reset().

Here is the caller graph for this function:

◆ clearGraveyard() [2/2]

void QSGRhiShaderMaterialTypeCache::clearGraveyard ( )
inline

Definition at line 169 of file qsgrhishadereffectnode.cpp.

◆ ref() [1/2]

QSGMaterialType * QSGRhiShaderMaterialTypeCache::ref ( const QShader & vs,
const QShader & fs )

Definition at line 202 of file qsgrhishadereffectnode.cpp.

References QSGRhiShaderMaterialTypeCache::Key::Key().

Here is the call graph for this function:

◆ ref() [2/2]

QSGMaterialType * QSGRhiShaderMaterialTypeCache::ref ( const QShader & vs,
const QShader & fs )

◆ reset() [1/2]

void QSGRhiShaderMaterialTypeCache::reset ( )
inline

Definition at line 163 of file qsgrhishadereffectnode.cpp.

References clearGraveyard().

Here is the call graph for this function:

◆ reset() [2/2]

void QSGRhiShaderMaterialTypeCache::reset ( )
inline

Definition at line 163 of file qsgrhishadereffectnode.cpp.

◆ unref() [1/2]

void QSGRhiShaderMaterialTypeCache::unref ( const QShader & vs,
const QShader & fs )

Definition at line 225 of file qsgrhishadereffectnode.cpp.

References QSGRhiShaderMaterialTypeCache::Key::Key().

Here is the call graph for this function:

◆ unref() [2/2]

void QSGRhiShaderMaterialTypeCache::unref ( const QShader & vs,
const QShader & fs )

Member Data Documentation

◆ m_graveyard

QHash< Key, QSGMaterialType * > QSGRhiShaderMaterialTypeCache::m_graveyard

Definition at line 192 of file qsgrhishadereffectnode.cpp.

◆ m_types

QHash< Key, MaterialType > QSGRhiShaderMaterialTypeCache::m_types

Definition at line 191 of file qsgrhishadereffectnode.cpp.


The documentation for this struct was generated from the following file: