Example #1
0
void Shader::AddSubShader(const std::string& subshaderFile)
{
  Asset* newSubShader = AssetManager::getInstance()->GetAsset(subshaderFile).GetAssetPtr<Asset>();  
  mSubShaderList[newSubShader->mytopid()] = newSubShader;
}