|
Cogs.Core
|
Public Member Functions | |
| void | reload (struct RenderTaskContext *context) |
| void | reload (struct RenderTaskContext *context, CachedEffect *effect) |
| CachedEffect * | loadEffect (struct RenderTaskContext *context, StringView cs) |
| CachedEffect * | loadEffect (struct RenderTaskContext *context, StringView vs, StringView ps) |
| CachedEffect * | loadEffect (struct RenderTaskContext *context, EffectDescription &desc) |
| void | release (struct RenderTaskContext *context, CachedEffect *effect) |
Private Attributes | |
| std::unordered_map< size_t, CachedEffect > | effects |
Definition at line 32 of file EffectCache.h.
| Cogs::Core::CachedEffect * Cogs::Core::EffectCache::loadEffect | ( | struct RenderTaskContext * | context, |
| EffectDescription & | desc | ||
| ) |
Definition at line 55 of file EffectCache.cpp.
| Cogs::Core::CachedEffect * Cogs::Core::EffectCache::loadEffect | ( | struct RenderTaskContext * | context, |
| StringView | cs | ||
| ) |
Definition at line 145 of file EffectCache.cpp.
| Cogs::Core::CachedEffect * Cogs::Core::EffectCache::loadEffect | ( | struct RenderTaskContext * | context, |
| StringView | vs, | ||
| StringView | ps | ||
| ) |
Definition at line 153 of file EffectCache.cpp.
| void Cogs::Core::EffectCache::release | ( | struct RenderTaskContext * | context, |
| CachedEffect * | effect | ||
| ) |
Definition at line 133 of file EffectCache.cpp.
| void Cogs::Core::EffectCache::reload | ( | struct RenderTaskContext * | context | ) |
Definition at line 34 of file EffectCache.cpp.
| void Cogs::Core::EffectCache::reload | ( | struct RenderTaskContext * | context, |
| CachedEffect * | effect | ||
| ) |
Definition at line 41 of file EffectCache.cpp.
|
private |
Definition at line 43 of file EffectCache.h.