INNER CODE UNIT · C++
featuresCombine
meta4d-me/CatDogEngine · Engine/Source/Editor/EditorApp.cpp:406
const std::string& featuresCombine = pMaterialComponent->GetFeaturesCombine();
// New shader feature added, need to compile new variants.
m_pRenderContext->CheckShaderProgram(entity, programName, featuresCombine);
// Shader source files have been modified, need to re-compile existing variants.
if (m_crtInputFocus && !m_preInputFocus)
{
m_pRenderContext->OnShaderHotModified(entity, programName, featuresCombine);
}
}
if (m_crtInputFocus && !m_preInputFocus)
{
m_pRenderContext->ClearModifiedProgramNameCrcs();
}
}