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