Пример #1
0
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();
  }
}