示例#1
0
文件: main.cpp 项目: MatzJB/pipeline
void GLUTMinimalCFR::onSceneRendererChanged( const dp::sg::ui::SceneRendererSharedPtr &sceneRenderer )
{
  if ( sceneRenderer )
  {
    m_shaderManager = sceneRenderer->getShaderManager();
  }
}
示例#2
0
void TerrainRenderer::onSceneRendererChanged( const dp::sg::ui::SceneRendererSharedPtr &sceneRenderer )
{
  if ( sceneRenderer )
  {
    m_shaderManager = sceneRenderer->getShaderManager();
  }
}