Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CShaderManager::EffectCacheKey Struct Reference

Key for effect cache lookups. More...

Public Member Functions

bool operator== (const EffectCacheKey &b) const
 

Public Attributes

CStrIntern name
 
CShaderDefines defines1
 
CShaderDefines defines2
 

Detailed Description

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.

Member Function Documentation

bool CShaderManager::EffectCacheKey::operator== ( const EffectCacheKey b) const

Definition at line 345 of file ShaderManager.cpp.

Member Data Documentation

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.


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