![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Key for effect cache lookups. More...

Public Member Functions | |
| bool | operator== (const EffectCacheKey &b) const |
Public Attributes | |
| CStrIntern | name |
| CShaderDefines | defines |
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.
| bool CShaderManager::EffectCacheKey::operator== | ( | const EffectCacheKey & | b | ) | const |
| CShaderDefines CShaderManager::EffectCacheKey::defines |
| CStrIntern CShaderManager::EffectCacheKey::name |