mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 08:13:50 +03:00
13 lines
446 B
C++
13 lines
446 B
C++
#include "gx/shader/CShaderEffectManager.hpp"
|
|
#include "gx/shader/CShaderEffect.hpp"
|
|
|
|
TSHashTable<CShaderEffect, HASHKEY_STRI> CShaderEffectManager::s_shaderList;
|
|
|
|
CShaderEffect* CShaderEffectManager::CreateEffect(const char* effectKey) {
|
|
return CShaderEffectManager::s_shaderList.New(effectKey, 0, 0);
|
|
}
|
|
|
|
CShaderEffect* CShaderEffectManager::GetEffect(const char* effectKey) {
|
|
return CShaderEffectManager::s_shaderList.Ptr(effectKey);
|
|
}
|