Pyrogenesis
13997
|
Key for effect cache lookups. More...
Public Member Functions | |
bool | operator== (const EffectCacheKey &b) const |
Public Attributes | |
CStrIntern | name |
CShaderDefines | defines1 |
CShaderDefines | defines2 |
Key for effect cache lookups.
This stores two separate CShaderDefines because the renderer typically has one set from the rendering context and one set from the material; by handling both separately here, we avoid the cost of having to merge the two sets into a single one before doing the cache lookup.
Definition at line 103 of file ShaderManager.h.
bool CShaderManager::EffectCacheKey::operator== | ( | const EffectCacheKey & | b | ) | const |
Definition at line 345 of file ShaderManager.cpp.
CShaderDefines CShaderManager::EffectCacheKey::defines1 |
Definition at line 106 of file ShaderManager.h.
CShaderDefines CShaderManager::EffectCacheKey::defines2 |
Definition at line 107 of file ShaderManager.h.
CStrIntern CShaderManager::EffectCacheKey::name |
Definition at line 105 of file ShaderManager.h.